Repository: trafficserver Updated Branches: refs/heads/master aadb75226 -> 7fe24aefa
TS-2838 include SpdyDefs.h Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/7fe24aef Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/7fe24aef Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/7fe24aef Branch: refs/heads/master Commit: 7fe24aefa9c28d10cd77313d9cfc0e6c27026f9f Parents: aadb752 Author: Alan M. Carroll <[email protected]> Authored: Fri May 23 10:06:17 2014 -0700 Committer: Alan M. Carroll <[email protected]> Committed: Fri May 23 10:06:17 2014 -0700 ---------------------------------------------------------------------- proxy/spdy/SpdyDefs.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7fe24aef/proxy/spdy/SpdyDefs.h ---------------------------------------------------------------------- diff --git a/proxy/spdy/SpdyDefs.h b/proxy/spdy/SpdyDefs.h new file mode 100644 index 0000000..226f180 --- /dev/null +++ b/proxy/spdy/SpdyDefs.h @@ -0,0 +1,39 @@ +/** @file + + Definitions for internal and external use. + + @section license License + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + */ + +#ifndef __P_SPDY_DEFS_H__ +#define __P_SPDY_DEFS_H__ + +namespace spdy +{ + /// Internal implementation version. + /// These map to the SPDY version handled. + enum SessionVersion + { + SESSION_VERSION_2 = 0, + SESSION_VERSION_3, + SESSION_VERSION_3_1 + }; +} + +#endif
