mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
c4013df0c1
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN
for compatibility with pidl libndr output
(This used to be commit 23a8828613
)
63 lines
1.3 KiB
C
63 lines
1.3 KiB
C
/* header auto-generated by pidl */
|
|
|
|
#ifndef _HEADER_initshutdown
|
|
#define _HEADER_initshutdown
|
|
|
|
struct initshutdown_String_sub {
|
|
uint32_t name_size;/* [keepref,value(strlen_m_term(name))] */
|
|
const char * name;/* [keepref,flag(LIBNDR_FLAG_STR_LEN4|LIBNDR_FLAG_STR_NOTERM)] */
|
|
};
|
|
|
|
struct initshutdown_String {
|
|
uint16_t name_len;/* [keepref,value(strlen_m(r->name->name)*2)] */
|
|
uint16_t name_size;/* [keepref,value(strlen_m_term(r->name->name)*2)] */
|
|
struct initshutdown_String_sub *name;/* [unique,keepref] */
|
|
}/* [public] */;
|
|
|
|
|
|
struct initshutdown_Init {
|
|
struct {
|
|
uint16_t *hostname;/* [unique,keepref] */
|
|
struct initshutdown_String *message;/* [unique,keepref] */
|
|
uint32_t timeout;/* [keepref] */
|
|
uint8_t force_apps;/* [keepref] */
|
|
uint8_t reboot;/* [keepref] */
|
|
} in;
|
|
|
|
struct {
|
|
WERROR result;
|
|
} out;
|
|
|
|
};
|
|
|
|
|
|
struct initshutdown_Abort {
|
|
struct {
|
|
uint16_t *server;/* [unique,keepref] */
|
|
} in;
|
|
|
|
struct {
|
|
WERROR result;
|
|
} out;
|
|
|
|
};
|
|
|
|
|
|
struct initshutdown_InitEx {
|
|
struct {
|
|
uint16_t *hostname;/* [unique,keepref] */
|
|
struct initshutdown_String *message;/* [unique,keepref] */
|
|
uint32_t timeout;/* [keepref] */
|
|
uint8_t force_apps;/* [keepref] */
|
|
uint8_t reboot;/* [keepref] */
|
|
uint32_t reason;/* [keepref] */
|
|
} in;
|
|
|
|
struct {
|
|
WERROR result;
|
|
} out;
|
|
|
|
};
|
|
|
|
#endif /* _HEADER_initshutdown */
|