| 123456789101112131415161718192021222324 |
- #ifndef SP_TBS_H
- #define SP_TBS_H
- #pragma once
- #ifdef __cplusplus
- extern "C" {
- #endif
- /** tcp bridge server, mainly for silverlight usage */
- typedef struct sp_tbs_t sp_tbs_t;
- typedef struct sp_ses_mgr_t sp_ses_mgr_t;
- int sp_tbs_create(sp_ses_mgr_t *ses_mgr, const char *ipaddr, unsigned short port, sp_tbs_t **p_tbs);
- int sp_tbs_start(sp_tbs_t *tbs);
- void sp_tbs_stop(sp_tbs_t *tbs);
- void sp_tbs_destroy(sp_tbs_t *tbs);
- #ifdef __cplusplus
- } // extern "C" {
- #endif
- #endif // SP_TBS_H
|