ctdb-common: Refactor code to remove a stale socket
[samba.git] / ctdb / common / sock_io.h
index cbb83a89ef2593230fb6a463b3dc3ec431421e3d..8b6e4eb20667fd3b90fa6b77f0dd1e63fc5ab7a9 100644 (file)
@@ -25,6 +25,7 @@ typedef void (*sock_queue_callback_fn_t)(uint8_t *buf, size_t buflen,
 
 struct sock_queue;
 
+bool sock_clean(const char *sockpath);
 int sock_connect(const char *sockpath);
 
 struct sock_queue *sock_queue_setup(TALLOC_CTX *mem_ctx,