Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
61c4250e
Commit
61c4250e
authored
Sep 04, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttp2_info: Format doc for API doc generator
parent
2f992a68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
13 deletions
+30
-13
lib/includes/nghttp2/nghttp2.h
lib/includes/nghttp2/nghttp2.h
+30
-13
No files found.
lib/includes/nghttp2/nghttp2.h
View file @
61c4250e
...
...
@@ -58,24 +58,41 @@ struct nghttp2_session;
*/
typedef
struct
nghttp2_session
nghttp2_session
;
/**
* @macro
*
* The age of :type:`nghttp2_info`
*/
#define NGHTTP2_VERSION_AGE 1
struct
nghttp2_info
{
int
age
;
/* Age of this struct. This instance of nghttp2 sets it to
NGHTTP2_VERSION_AGE but a future version may bump it and add
more struct fields at the bottom */
int
version_num
;
/* the NGHTTP2_VERSION_NUM number */
const
char
*
version_str
;
/* points to the NGHTTP2_VERSION string */
const
char
*
proto_str
;
/* points to the NGHTTP2_PROTO_VERSION_ID string
this instance implements */
/* -------- the above fields all exist when age == 1 */
};
/**
* @struct
*
* This struct is what nghttp2_version() returns. It holds information about
* the particular nghttp2 version.
* This struct is what `nghttp2_version()` returns. It holds
* information about the particular nghttp2 version.
*/
typedef
struct
{
/**
* Age of this struct. This instance of nghttp2 sets it to
* :macro:`NGHTTP2_VERSION_AGE` but a future version may bump it and
* add more struct fields at the bottom
*/
int
age
;
/**
* the :macro:`NGHTTP2_VERSION_NUM` number (since age ==1)
*/
int
version_num
;
/**
* points to the NGHTTP2_VERSION string (since age ==1)
*/
const
char
*
version_str
;
/**
* points to the NGHTTP2_PROTO_VERSION_ID string
* this instance implements (since age ==1)
*/
typedef
struct
nghttp2_info
nghttp2_info
;
const
char
*
proto_str
;
/* -------- the above fields all exist when age == 1 */
}
nghttp2_info
;
/**
* @macro
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment