diff options
Diffstat (limited to 'ecp/src/dir_srv.h')
-rw-r--r-- | ecp/src/dir_srv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ecp/src/dir_srv.h b/ecp/src/dir_srv.h new file mode 100644 index 0000000..cc2ebbe --- /dev/null +++ b/ecp/src/dir_srv.h @@ -0,0 +1,7 @@ +#ifdef ECP_WITH_DIRSRV + +int ecp_dir_init(struct ECPContext *ctx, struct ECPDirList *dir_online, struct ECPDirList *dir_shadow); +ssize_t ecp_dir_handle_update(struct ECPConnection *conn, ecp_seq_t seq, unsigned char mtype, unsigned char *msg, ssize_t size, struct ECP2Buffer *b); +int ecp_dir_handle_req(struct ECPSocket *sock, struct ECPNetAddr *addr, struct ECPConnection *parent, unsigned char *msg, size_t msg_size, struct ECPPktMeta *pkt_meta, struct ECP2Buffer *bufs, struct ECPConnection **_conn); + +#endif /* ECP_WITH_DIRSRV */
\ No newline at end of file |