wip - making hcl-x code more reusable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
14
lib/hcl-x.h
14
lib/hcl-x.h
@ -52,6 +52,9 @@ struct hcl_xpkt_hdr_t
|
||||
};
|
||||
typedef struct hcl_xpkt_hdr_t hcl_xpkt_hdr_t;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
typedef struct hcl_xproto_t hcl_xproto_t;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -380,6 +383,17 @@ HCL_EXPORT void hcl_client_freemem (
|
||||
void* ptr
|
||||
);
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
HCL_EXPORT hcl_xproto_t* hcl_xproto_open (
|
||||
hcl_oow_t xtnsize,
|
||||
hcl_server_worker_t* worker
|
||||
);
|
||||
|
||||
HCL_EXPORT void hcl_xproto_close (
|
||||
hcl_xproto_t* proto
|
||||
);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user