mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
Fix two shadowed declaration warnings on FreeBSD-based platform: 'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in netinet/tcp.h. (This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
26 lines
1017 B
C
26 lines
1017 B
C
#include "librpc/gen_ndr/ndr_initshutdown.h"
|
|
#ifndef __CLI_INITSHUTDOWN__
|
|
#define __CLI_INITSHUTDOWN__
|
|
NTSTATUS rpccli_initshutdown_Init(struct rpc_pipe_client *cli,
|
|
TALLOC_CTX *mem_ctx,
|
|
uint16_t *hostname /* [in] [unique] */,
|
|
struct initshutdown_String *message /* [in] [unique] */,
|
|
uint32_t timeout /* [in] */,
|
|
uint8_t force_apps /* [in] */,
|
|
uint8_t do_reboot /* [in] */,
|
|
WERROR *werror);
|
|
NTSTATUS rpccli_initshutdown_Abort(struct rpc_pipe_client *cli,
|
|
TALLOC_CTX *mem_ctx,
|
|
uint16_t *server /* [in] [unique] */,
|
|
WERROR *werror);
|
|
NTSTATUS rpccli_initshutdown_InitEx(struct rpc_pipe_client *cli,
|
|
TALLOC_CTX *mem_ctx,
|
|
uint16_t *hostname /* [in] [unique] */,
|
|
struct initshutdown_String *message /* [in] [unique] */,
|
|
uint32_t timeout /* [in] */,
|
|
uint8_t force_apps /* [in] */,
|
|
uint8_t do_reboot /* [in] */,
|
|
uint32_t reason /* [in] */,
|
|
WERROR *werror);
|
|
#endif /* __CLI_INITSHUTDOWN__ */
|