mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:netapi: Make 'struct libnetapi_ctx' opaque
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
bcc3945e53
commit
e79b067e23
@ -1362,19 +1362,7 @@ struct NETLOGON_INFO_4 {
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
||||
struct libnetapi_ctx {
|
||||
char *debuglevel;
|
||||
char *error_string;
|
||||
char *username;
|
||||
char *workgroup;
|
||||
char *password;
|
||||
char *krb5_cc_env;
|
||||
int use_kerberos;
|
||||
int use_ccache;
|
||||
int disable_policy_handle_cache;
|
||||
|
||||
void *private_data;
|
||||
};
|
||||
struct libnetapi_ctx;
|
||||
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
@ -53,6 +53,21 @@ struct libnetapi_private_ctx {
|
||||
struct messaging_context *msg_ctx;
|
||||
};
|
||||
|
||||
struct libnetapi_ctx {
|
||||
char *debuglevel;
|
||||
char *error_string;
|
||||
char *username;
|
||||
char *workgroup;
|
||||
char *password;
|
||||
char *krb5_cc_env;
|
||||
int use_kerberos;
|
||||
int use_ccache;
|
||||
int disable_policy_handle_cache;
|
||||
|
||||
void *private_data;
|
||||
};
|
||||
|
||||
|
||||
NET_API_STATUS libnetapi_set_error_string(struct libnetapi_ctx *ctx,
|
||||
const char *format, ...)
|
||||
PRINTF_ATTRIBUTE(2,3);
|
||||
|
@ -42,7 +42,7 @@ bld.SAMBA3_LIBRARY('netapi',
|
||||
''',
|
||||
public_headers='../source3/lib/netapi/netapi.h',
|
||||
pc_files='libnet/netapi.pc',
|
||||
vnum='0.1.0')
|
||||
vnum='1.0.0')
|
||||
|
||||
bld.SAMBA3_LIBRARY('gse',
|
||||
source='librpc/crypto/gse_krb5.c librpc/crypto/gse.c',
|
||||
|
Loading…
Reference in New Issue
Block a user