From 570f8e9a77656f3363938bde1364053d6bbfb30f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 15 Aug 1998 03:26:52 +0000 Subject: moved the printing related files to a separate printing/ directory. (This used to be commit d933a47be6fa7b5f161179fa11244aaba1051160) --- source3/include/config.h.in | 6 +++--- source3/include/proto.h | 48 ++++++++++++++++++++++----------------------- 2 files changed, 27 insertions(+), 27 deletions(-) (limited to 'source3/include') diff --git a/source3/include/config.h.in b/source3/include/config.h.in index d3968452c3..de5cd41544 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -304,6 +304,9 @@ /* Define if you have the header file. */ #undef HAVE_NETINET_TCP_H +/* Define if you have the header file. */ +#undef HAVE_RPCSVC_YPCLNT_H + /* Define if you have the header file. */ #undef HAVE_SECURITY_PAM_APPL_H @@ -358,9 +361,6 @@ /* Define if you have the header file. */ #undef HAVE_SYS_PARAM_H -/* Define if you have the header file. */ -#undef HAVE_RPCSVC_YPCLNT_H - /* Define if you have the header file. */ #undef HAVE_SYS_SECURITY_H diff --git a/source3/include/proto.h b/source3/include/proto.h index 74e240cfa3..49d078b78a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1091,11 +1091,6 @@ BOOL pm_process( char *FileName, BOOL (*sfunc)(char *), BOOL (*pfunc)(char *, char *) ); -/*The following definitions come from param/pcap.c */ - -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); @@ -1177,6 +1172,30 @@ BOOL trust_password_delete( char *domain, char *name ); BOOL get_trust_account_password( unsigned char *ret_pwd, time_t *pass_last_set_time); BOOL set_trust_account_password( unsigned char *md4_new_pwd); +/*The following definitions come from printing/pcap.c */ + +BOOL pcap_printername_ok(char *pszPrintername, char *pszPrintcapname); +void pcap_printer_fn(void (*fn)(char *, char *)); + +/*The following definitions come from printing/print_svid.c */ + +void sysv_printer_fn(void (*fn)(char *, char *)); +int sysv_printername_ok(char *name); + +/*The following definitions come from printing/printing.c */ + +void lpq_reset(int snum); +void print_file(connection_struct *conn, files_struct *file); +int get_printqueue(int snum, + connection_struct *conn,print_queue_struct **queue, + print_status_struct *status); +void del_printqueue(connection_struct *conn,int snum,int jobid); +void status_printjob(connection_struct *conn,int snum,int jobid,int status); +int printjob_encode(int snum, int job); +void printjob_decode(int jobid, int *snum, int *job); +void status_printqueue(connection_struct *conn,int snum,int status); +void load_printers(void); + /*The following definitions come from rpc_client/cli_login.c */ BOOL cli_nt_setup_creds(struct cli_state *cli, unsigned char mach_pwd[16]); @@ -2008,25 +2027,6 @@ int read_predict(int fd,int offset,char *buf,char **ptr,int num); void do_read_prediction(void); void invalidate_read_prediction(int fd); -/*The following definitions come from smbd/print_svid.c */ - -void sysv_printer_fn(void (*fn)(char *, char *)); -int sysv_printername_ok(char *name); - -/*The following definitions come from smbd/printing.c */ - -void lpq_reset(int snum); -void print_file(connection_struct *conn, files_struct *file); -int get_printqueue(int snum, - connection_struct *conn,print_queue_struct **queue, - print_status_struct *status); -void del_printqueue(connection_struct *conn,int snum,int jobid); -void status_printjob(connection_struct *conn,int snum,int jobid,int status); -int printjob_encode(int snum, int job); -void printjob_decode(int jobid, int *snum, int *job); -void status_printqueue(connection_struct *conn,int snum,int status); -void load_printers(void); - /*The following definitions come from smbd/quotas.c */ BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize); -- cgit