summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-03 13:12:08 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-03 13:12:08 +0000
commit03a06267f4674201c107b85abf993688312c5093 (patch)
treee164b26a4965b638944c251e42769e2a3a3eb567 /source3/include
parent13b431ff2df41f3ba5592be2ccf4789238f34750 (diff)
downloadsamba-03a06267f4674201c107b85abf993688312c5093.tar.gz
samba-03a06267f4674201c107b85abf993688312c5093.tar.bz2
samba-03a06267f4674201c107b85abf993688312c5093.zip
added simple device/inode number support based on a checksum of the
filename (This used to be commit 5674fb4e9dc4d92213d763c8cecd26efc23a9720)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7eb3e1abc2..08d4476da9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -343,7 +343,7 @@ void dump_data(int level,char *buf1,int len);
char *tab_depth(int depth);
char *sid_to_string(pstring sidstr_out, DOM_SID *sid);
BOOL string_to_sid(DOM_SID *sidout, char *sidstr);
-int str_checksum(char *s);
+int str_checksum(const char *s);
void zero_free(void *p, size_t size);
/*The following definitions come from libsmb/clientgen.c */
@@ -361,7 +361,7 @@ BOOL cli_api(struct cli_state *cli,
char **rparam, int *rprcnt,
char **rdata, int *rdrcnt);
BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation);
-BOOL cli_RNetShareEnum(struct cli_state *cli, void (*fn)(const char *, uint32, char *));
+BOOL cli_RNetShareEnum(struct cli_state *cli, void (*fn)(const char *, uint32, const char *));
BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
void (*fn)(char *, uint32, char *));
BOOL cli_session_setup(struct cli_state *cli,