libcli/: Fix prototypes for all functions.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 18 Mar 2011 23:45:56 +0000 (00:45 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 19 Mar 2011 02:20:05 +0000 (03:20 +0100)
libcli/echo/tests/echo.c
libcli/nbt/dns_hosts_file.c
libcli/security/pysecurity.c
libcli/security/secacl.c
libcli/util/error.h

index 77a7dfa677f545934e92deb860154939f1bde34c..c47b7d0d0fcc6edb2f284db13294d3c9c825613c 100644 (file)
@@ -26,6 +26,8 @@
 #include "libcli/util/ntstatus.h"
 #include "libcli/echo/libecho.h"
 
+NTSTATUS torture_libcli_echo_init(void);
+
 /* Basic test function that sends an echo request and checks the reply */
 static bool echo_udp_basic(struct torture_context *tctx, const char *address)
 {
index 810e4ebb0c91e25fc939a9326713bea5097405ba..c6491a925e96e57a566d50565e0b4c5745a14c4b 100644 (file)
@@ -28,6 +28,7 @@
 #include "lib/util/util_net.h"
 #include "system/filesys.h"
 #include "system/network.h"
+#include "libcli/nbt/libnbt.h"
 
 /********************************************************
  Start parsing the dns_hosts_file file.
index 56bdd69b4c73e65baefbc8ab717241d9c8da82d3..87134bf10444dd60263d4c404e80751c0aae1d52 100644 (file)
@@ -23,6 +23,8 @@
 #include "libcli/security/security.h"
 #include "pytalloc.h"
 
+void initsecurity(void);
+
 static PyObject *py_se_access_check(PyObject *module, PyObject *args, PyObject *kwargs)
 {
        NTSTATUS nt_status;
index 9c04df81d1eacc5e286eaaa4bd146e6787f74536..47184ae96fc796a508ca537ec90a5476e53d6d16 100644 (file)
@@ -23,6 +23,7 @@
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_security.h"
 #include "libcli/security/secace.h"
+#include "libcli/security/secacl.h"
 
 #define  SEC_ACL_HEADER_SIZE (2 * sizeof(uint16_t) + sizeof(uint32_t))
 
index 77a2f5a43347115200f40f4cc21c6f62a6289a33..7b7de6c4f0fa9125dfb746d08ef63557098460a7 100644 (file)
@@ -51,4 +51,6 @@ convert a Unix error code to a WERROR
 *********************************************************************/
 WERROR unix_to_werror(int unix_error);
 
+NTSTATUS nt_status_squash(NTSTATUS nt_status);
+
 #endif /* _SAMBA_ERROR_H */