mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
libcli/: Fix prototypes for all functions.
This commit is contained in:
parent
0b4eb47e27
commit
fa387825e2
@ -26,6 +26,8 @@
|
|||||||
#include "libcli/util/ntstatus.h"
|
#include "libcli/util/ntstatus.h"
|
||||||
#include "libcli/echo/libecho.h"
|
#include "libcli/echo/libecho.h"
|
||||||
|
|
||||||
|
NTSTATUS torture_libcli_echo_init(void);
|
||||||
|
|
||||||
/* Basic test function that sends an echo request and checks the reply */
|
/* Basic test function that sends an echo request and checks the reply */
|
||||||
static bool echo_udp_basic(struct torture_context *tctx, const char *address)
|
static bool echo_udp_basic(struct torture_context *tctx, const char *address)
|
||||||
{
|
{
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "lib/util/util_net.h"
|
#include "lib/util/util_net.h"
|
||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "system/network.h"
|
#include "system/network.h"
|
||||||
|
#include "libcli/nbt/libnbt.h"
|
||||||
|
|
||||||
/********************************************************
|
/********************************************************
|
||||||
Start parsing the dns_hosts_file file.
|
Start parsing the dns_hosts_file file.
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "libcli/security/security.h"
|
#include "libcli/security/security.h"
|
||||||
#include "pytalloc.h"
|
#include "pytalloc.h"
|
||||||
|
|
||||||
|
void initsecurity(void);
|
||||||
|
|
||||||
static PyObject *py_se_access_check(PyObject *module, PyObject *args, PyObject *kwargs)
|
static PyObject *py_se_access_check(PyObject *module, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
NTSTATUS nt_status;
|
NTSTATUS nt_status;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "librpc/gen_ndr/ndr_security.h"
|
#include "librpc/gen_ndr/ndr_security.h"
|
||||||
#include "libcli/security/secace.h"
|
#include "libcli/security/secace.h"
|
||||||
|
#include "libcli/security/secacl.h"
|
||||||
|
|
||||||
#define SEC_ACL_HEADER_SIZE (2 * sizeof(uint16_t) + sizeof(uint32_t))
|
#define SEC_ACL_HEADER_SIZE (2 * sizeof(uint16_t) + sizeof(uint32_t))
|
||||||
|
|
||||||
|
@ -51,4 +51,6 @@ convert a Unix error code to a WERROR
|
|||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
WERROR unix_to_werror(int unix_error);
|
WERROR unix_to_werror(int unix_error);
|
||||||
|
|
||||||
|
NTSTATUS nt_status_squash(NTSTATUS nt_status);
|
||||||
|
|
||||||
#endif /* _SAMBA_ERROR_H */
|
#endif /* _SAMBA_ERROR_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user