summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
-rw-r--r--source3/include/smb.h6
2 files changed, 4 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index fab69de3d1..b0589ede19 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -628,6 +628,7 @@ BOOL api_LsarpcTNP(int cnum,int uid, char *param,char *data,
int mdrcnt,int mprcnt,
char **rdata,char **rparam,
int *rdata_len,int *rparam_len);
+char *dom_sid_to_string(DOM_SID *sid);
/*The following definitions come from predict.c */
@@ -653,6 +654,7 @@ BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
+BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
/*The following definitions come from replace.c */
@@ -1040,6 +1042,7 @@ BOOL is_myname(char *s);
void set_remote_arch(enum remote_arch_types type);
enum remote_arch_types get_remote_arch();
char *skip_unicode_string(char *buf,int n);
+char *unistr2(uint16 *buf);
char *unistr(char *buf);
int unistrncpy(char *dst, char *src, int len);
int unistrcpy(char *dst, char *src);
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 9f5279fca0..7d7677b3fc 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -565,11 +565,7 @@ typedef struct lsa_r_lookup_sids
typedef struct dom_name_info
{
uint32 uni_str_len;
-#if 1 /* don't know if buffer is null-terminated */
- UNISTR buffer;
-#else /* or length indicated by uni_str_len member */
- uint16 buffer[MAX_UNISTRLEN];
-#endif
+ UNISTR str;
} DOM_NAME;