summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-26 15:42:47 +0200
committerGünther Deschner <gd@samba.org>2010-04-26 22:52:59 +0200
commit725976290939e82bd43a0b8bce07df6068e65496 (patch)
tree2a3da10121c95023ced3482c49d47ddad37292dd /source3/libsmb
parent1983d0dde7c33666c5e0c1082d0c2604e6d1e860 (diff)
downloadsamba-725976290939e82bd43a0b8bce07df6068e65496.tar.gz
samba-725976290939e82bd43a0b8bce07df6068e65496.tar.bz2
samba-725976290939e82bd43a0b8bce07df6068e65496.zip
s3: use generated rap header.
Guenther
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c1
-rw-r--r--source3/libsmb/clirap2.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 55a783efd0..913c8d320a 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "../libcli/auth/libcli_auth.h"
+#include "../librpc/gen_ndr/rap.h"
/****************************************************************************
Call a remote api
diff --git a/source3/libsmb/clirap2.c b/source3/libsmb/clirap2.c
index 763faa7ca1..98702f6394 100644
--- a/source3/libsmb/clirap2.c
+++ b/source3/libsmb/clirap2.c
@@ -76,6 +76,7 @@
/*****************************************************/
#include "includes.h"
+#include "../librpc/gen_ndr/rap.h"
#define WORDSIZE 2
#define DWORDSIZE 4
@@ -284,7 +285,7 @@ int cli_NetGroupDelete(struct cli_state *cli, const char *group_name)
call a NetGroupAdd - add user group to remote server
****************************************************************************/
-int cli_NetGroupAdd(struct cli_state *cli, RAP_GROUP_INFO_1 *grinfo)
+int cli_NetGroupAdd(struct cli_state *cli, struct rap_group_info_1 *grinfo)
{
char *rparam = NULL;
char *rdata = NULL;
@@ -830,7 +831,7 @@ int cli_NetUserDelete(struct cli_state *cli, const char * user_name )
Call a NetUserAdd - add user to remote server.
****************************************************************************/
-int cli_NetUserAdd(struct cli_state *cli, RAP_USER_INFO_1 * userinfo )
+int cli_NetUserAdd(struct cli_state *cli, struct rap_user_info_1 * userinfo )
{
char *rparam = NULL;
char *rdata = NULL;
@@ -1333,7 +1334,7 @@ int cli_NetFileEnum(struct cli_state *cli, const char * user,
Call a NetShareAdd - share/export directory on remote server.
****************************************************************************/
-int cli_NetShareAdd(struct cli_state *cli, RAP_SHARE_INFO_2 * sinfo )
+int cli_NetShareAdd(struct cli_state *cli, struct rap_share_info_2 * sinfo )
{
char *rparam = NULL;
char *rdata = NULL;