summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-30 15:43:25 +1000
committerAndrew Tridgell <tridge@samba.org>2007-05-30 15:43:25 +1000
commit1e72af9c5169c83f537d27c66c3cf3db015fce6b (patch)
treefa4ec47608b1497ad3a9767ac0a59b42d4b49fc8 /ctdb/include
parentc833b06a35afd2de5edc237df0b1a461a649d9e3 (diff)
downloadsamba-1e72af9c5169c83f537d27c66c3cf3db015fce6b.tar.gz
samba-1e72af9c5169c83f537d27c66c3cf3db015fce6b.tar.xz
samba-1e72af9c5169c83f537d27c66c3cf3db015fce6b.zip
close sockets when we exec scripts
(This used to be ctdb commit 0fac2164db4279db2d7d376a34be05b890304087)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 92cc1a4263..80424a45b0 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -955,6 +955,8 @@ int ctdb_event_script_callback(struct ctdb_context *ctdb,
const char *fmt, ...) PRINTF_ATTRIBUTE(3,4);
void ctdb_release_all_ips(struct ctdb_context *ctdb);
+void set_nonblocking(int fd);
+void set_close_on_exec(int fd);
#endif