summaryrefslogtreecommitdiff
path: root/include/service_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/service_common.h')
-rw-r--r--include/service_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/service_common.h b/include/service_common.h
index 9cc0885..e60de2b 100644
--- a/include/service_common.h
+++ b/include/service_common.h
@@ -27,6 +27,7 @@ extern int tcb_fd(struct tcb *tcb);
extern struct service_context *tcb_svc_ctx(struct tcb *tcb);
extern int tcb_client_type(struct tcb *tcb);
extern int tcb_client_type_set(struct tcb *tcb, enum tcb_type type);
+extern int tcb_is_valid(struct service_context *svc_ctx, struct tcb *tcb);
extern struct service_context *service_common_create(const char *addr, int (*service_thread_main)(struct tcb *tcb, struct packet *packet, void *data), void *data);
extern int service_common_destroy(struct service_context *svc_ctx);