summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-23 02:41:22 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-23 02:41:22 +0000
commit8bf0f359f3ec440ace0bba6c12ca65d25ba45fd9 (patch)
tree85540049013fd3fbf18f4aee8d691a575925ee2e /source3/include
parent8d971f1db1ba172befc77d5827cb47a18571b88e (diff)
downloadsamba-8bf0f359f3ec440ace0bba6c12ca65d25ba45fd9.tar.gz
samba-8bf0f359f3ec440ace0bba6c12ca65d25ba45fd9.tar.bz2
samba-8bf0f359f3ec440ace0bba6c12ca65d25ba45fd9.zip
added a test for the NT SMBgetatr bug in smbtorture
added support for choosing the protocol level in smbtorture (-m option) use -1 for null date in cli_close() get the attributes right in cli_open() (This used to be commit d64d40a6ec57a4a999ae1f39175bcfd86ccb196e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index d69aa61e72..81868f5e12 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -16,6 +16,18 @@ BOOL queue_dns_query(struct packet_struct *p,struct nmb_name *question,
BOOL queue_dns_query(struct packet_struct *p,struct nmb_name *question,
struct name_record **n);
+/*The following definitions come from cgi.c */
+
+void cgi_load_variables(FILE *f1);
+char *cgi_variable(char *name);
+char *cgi_vnum(int i, char **name);
+int cgi_boolean(char *name, int def);
+char *quotedup(char *s);
+char *urlquote(char *s);
+char *quotequotes(char *s);
+void quote_spaces(char *buf);
+void cgi_setup(char *rootdir);
+
/*The following definitions come from charcnv.c */
char *unix2dos_format(char *str,BOOL overwrite);
@@ -60,6 +72,7 @@ BOOL cli_lock(struct cli_state *cli, int fnum, uint32 offset, uint32 len, int ti
BOOL cli_unlock(struct cli_state *cli, int fnum, uint32 offset, uint32 len, int timeout);
int cli_read(struct cli_state *cli, int fnum, char *buf, uint32 offset, uint16 size);
int cli_write(struct cli_state *cli, int fnum, char *buf, uint32 offset, uint16 size);
+BOOL cli_stat(struct cli_state *cli, char *fname, struct stat *st);
BOOL cli_negprot(struct cli_state *cli);
BOOL cli_session_request(struct cli_state *cli, char *host, int name_type,
char *myname);