Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
export flag functions
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFrench committed Jul 8, 2017
1 parent 948c547 commit 3467cbb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions evhtp.h
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,15 @@ struct evhtp_ssl_cfg_s {
*/
EVHTP_EXPORT evhtp_t * evhtp_new(evbase_t * evbase, void * arg);

EVHTP_EXPORT void evhtp_enable_flag(evhtp_t *, int);
EVHTP_EXPORT void evhtp_connection_enable_flag(evhtp_connection_t *, int);
EVHTP_EXPORT void evhtp_request_enable_flag(evhtp_request_t *, int);
EVHTP_EXPORT int evhtp_get_flags(evhtp_t *);
EVHTP_EXPORT int evhtp_connection_get_flags(evhtp_connection_t *);
EVHTP_EXPORT int evhtp_request_get_flags(evhtp_request_t *);
EVHTP_EXPORT void evhtp_disable_flag(evhtp_t *, int);
EVHTP_EXPORT void evhtp_connection_disable_flag(evhtp_connection_t *, int);
EVHTP_EXPORT void evhtp_request_disable_flag(evhtp_request_t *, int);

/**
* @brief free a evhtp_t context
Expand Down

0 comments on commit 3467cbb

Please sign in to comment.