mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3: give ../librpc/ndr/util.c its own header.
Guenther
This commit is contained in:
parent
b5a2f956c6
commit
fdd4d56405
@ -1570,13 +1570,6 @@ void wins_srv_tags_free(char **list);
|
||||
struct in_addr wins_srv_ip_tag(const char *tag, struct in_addr src_ip);
|
||||
unsigned wins_srv_count_tag(const char *tag);
|
||||
|
||||
/* The following definitions come from librpc/ndr/util.c */
|
||||
|
||||
enum ndr_err_code ndr_push_server_id(struct ndr_push *ndr, int ndr_flags, const struct server_id *r);
|
||||
enum ndr_err_code ndr_pull_server_id(struct ndr_pull *ndr, int ndr_flags, struct server_id *r);
|
||||
void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct server_id *r);
|
||||
_PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
|
||||
|
||||
/* The following definitions come from libsmb/cliconnect.c */
|
||||
|
||||
ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "ads.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
#include "librpc/ndr/util.h"
|
||||
|
||||
void ndr_print_ads_auth_flags(struct ndr_print *ndr, const char *name, uint32_t r)
|
||||
{
|
||||
|
@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
[
|
||||
helper("../librpc/ndr/util.h"),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface messaging
|
||||
|
@ -10,6 +10,7 @@ import "file_id.idl";
|
||||
*/
|
||||
|
||||
[
|
||||
helper("../librpc/ndr/util.h"),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface notify
|
||||
|
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "librpc/ndr/util.h"
|
||||
|
||||
enum ndr_err_code ndr_push_server_id(struct ndr_push *ndr, int ndr_flags, const struct server_id *r)
|
||||
{
|
||||
|
7
source3/librpc/ndr/util.h
Normal file
7
source3/librpc/ndr/util.h
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
/* The following definitions come from librpc/ndr/util.c */
|
||||
|
||||
enum ndr_err_code ndr_push_server_id(struct ndr_push *ndr, int ndr_flags, const struct server_id *r);
|
||||
enum ndr_err_code ndr_pull_server_id(struct ndr_pull *ndr, int ndr_flags, struct server_id *r);
|
||||
void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct server_id *r);
|
||||
_PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss);
|
@ -21,6 +21,7 @@
|
||||
#include "winbindd.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
#include "../librpc/gen_ndr/ndr_security.h"
|
||||
#include "librpc/ndr/util.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_WINBIND
|
||||
|
Loading…
x
Reference in New Issue
Block a user