summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-08-14 02:02:40 +0000
committerJeremy Allison <jra@samba.org>1998-08-14 02:02:40 +0000
commit3cf6cc6134960c99adb702b21394a4a607cfe30a (patch)
treeb3ce0e9903f2d5ee14a82128a69ed1086509d044 /source3/include/proto.h
parent2ad339b6ff9dc1f55a8f751de56a39bb10846cdf (diff)
downloadsamba-3cf6cc6134960c99adb702b21394a4a607cfe30a.tar.gz
samba-3cf6cc6134960c99adb702b21394a4a607cfe30a.tar.bz2
samba-3cf6cc6134960c99adb702b21394a4a607cfe30a.zip
Makefile.in: Changed so that make proto will work with ldap & nisplus.
locking/locking.c: Made #ifdef'ed out functions static for Make proto. lib/util.c: Re-instated old mask_match code for UNIX filesystem checks only. Client calls use the new mask_match code. Changed the name of the old function to unix_mask_match. Jeremy. (This used to be commit b68e756ff57622c6c74f28031d4be964d7b1c9bc)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h31
1 files changed, 17 insertions, 14 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e3189a2d08..e310246a87 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -43,6 +43,12 @@ int process_tar(char *inbuf, char *outbuf);
int clipfind(char **aret, int ret, char *tok);
int tar_parseargs(int argc, char *argv[], char *Optarg, int Optind);
+/*The following definitions come from lib/access.c */
+
+BOOL allow_access(char *deny_list,char *allow_list,
+ char *cname,char *caddr);
+BOOL check_access(int sock, char *allow_list, char *deny_list);
+
/*The following definitions come from lib/charcnv.c */
char *unix2dos_format(char *str,BOOL overwrite);
@@ -62,6 +68,7 @@ int sig_usr1( void );
void setup_logging( char *pname, BOOL interactive );
void reopen_logs( void );
void force_check_log_size( void );
+void dbgflush( void );
BOOL dbghdr( int level, char *file, char *func, int line );
/*The following definitions come from lib/fault.c */
@@ -459,6 +466,8 @@ char *smb_errstr(char *inbuf);
/*The following definitions come from locking/locking.c */
+BOOL push_blocking_lock_request( char *inbuf, int length, int lock_timeout, int lock_num);
+void process_blocking_lock_queue(time_t t);
BOOL is_locked(int fnum,int cnum,uint32 count,uint32 offset, int lock_type);
BOOL do_lock(int fnum,int cnum,uint32 count,uint32 offset,int lock_type,
int *eclass,uint32 *ecode);
@@ -1074,6 +1083,14 @@ BOOL pm_process( char *FileName,
BOOL pcap_printername_ok(char *pszPrintername, char *pszPrintcapname);
void pcap_printer_fn(void (*fn)(char *, char *));
+/*The following definitions come from passdb/ldap.c */
+
+struct passdb_ops *ldap_initialize_password_db(void);
+
+/*The following definitions come from passdb/nispass.c */
+
+struct passdb_ops *nisplus_initialize_password_db(void);
+
/*The following definitions come from passdb/pass_check.c */
void dfs_unlogin(void);
@@ -1842,12 +1859,6 @@ uint32 lookup_user_rid(char *user_name, uint32 *rid);
BOOL api_wkssvc_rpc(pipes_struct *p, prs_struct *data);
-/*The following definitions come from smbd/access.c */
-
-BOOL allow_access(char *deny_list,char *allow_list,
- char *cname,char *caddr);
-BOOL check_access(int sock, char *allow_list, char *deny_list);
-
/*The following definitions come from smbd/chgpasswd.c */
BOOL chat_with_program(char *passwordprogram,char *name,char *chatsequence, BOOL as_root);
@@ -1908,10 +1919,6 @@ void map_gid_to_sid( gid_t gid, DOM_SID *psid);
int get_printerdrivernumber(int snum);
int reply_trans(char *inbuf,char *outbuf, int size, int bufsize);
-/*The following definitions come from smbd/ldap.c */
-
-struct passdb_ops *ldap_initialize_password_db(void);
-
/*The following definitions come from smbd/mangle.c */
BOOL is_mangled( char *s );
@@ -1929,10 +1936,6 @@ int reply_sendstrt(char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
int reply_sendtxt(char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
int reply_sendend(char *inbuf,char *outbuf, int dum_size, int dum_buffsize);
-/*The following definitions come from smbd/nispass.c */
-
-struct passdb_ops *nisplus_initialize_password_db(void);
-
/*The following definitions come from smbd/nttrans.c */
int reply_ntcreate_and_X(char *inbuf,char *outbuf,int length,int bufsize);