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
65e54ca7
Commit
65e54ca7
authored
Dec 14, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nghttp2_free()
parent
bc747318
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
lib/nghttp2_helper.c
lib/nghttp2_helper.c
+5
-0
lib/nghttp2_helper.h
lib/nghttp2_helper.h
+8
-0
No files found.
lib/nghttp2_helper.c
View file @
65e54ca7
...
@@ -276,3 +276,8 @@ const char* nghttp2_strerror(int error_code)
...
@@ -276,3 +276,8 @@ const char* nghttp2_strerror(int error_code)
return
"Unknown error code"
;
return
"Unknown error code"
;
}
}
}
}
void
nghttp2_free
(
void
*
ptr
)
{
free
(
ptr
);
}
lib/nghttp2_helper.h
View file @
65e54ca7
...
@@ -133,4 +133,12 @@ int nghttp2_check_header_name(const uint8_t *name, size_t len);
...
@@ -133,4 +133,12 @@ int nghttp2_check_header_name(const uint8_t *name, size_t len);
*/
*/
int
nghttp2_check_header_name_nocase
(
const
uint8_t
*
name
,
size_t
len
);
int
nghttp2_check_header_name_nocase
(
const
uint8_t
*
name
,
size_t
len
);
/*
* Deallocates memory space pointed by |ptr|. This function exists for
* the application to free the memory space allocated by the library
* functions. Currently this function is hidden from the public API,
* but may be exposed as public API.
*/
void
nghttp2_free
(
void
*
ptr
);
#endif
/* NGHTTP2_HELPER_H */
#endif
/* NGHTTP2_HELPER_H */
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