diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-31 19:04:51 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-31 19:04:51 +0000 |
commit | fa810d4c8001c10bddce452b4ab1178eb80dee87 (patch) | |
tree | 59edc49534184b4b766e65e416630a2a2763f16d /source3/include/proto.h | |
parent | 288ea15a564e0931f8002cfb2ca3b4064bb4c227 (diff) | |
download | samba-fa810d4c8001c10bddce452b4ab1178eb80dee87.tar.gz samba-fa810d4c8001c10bddce452b4ab1178eb80dee87.tar.bz2 samba-fa810d4c8001c10bddce452b4ab1178eb80dee87.zip |
Implemented DELETEFORM tested using Gerald's Win32 test code :-).
Jeremy.
(This used to be commit 596c21a2af0309ce43a5e52a343a671036d05ebf)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 4fc65f8eda..38393e3de8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1682,6 +1682,7 @@ BOOL nt_printing_init(void); int get_ntforms(nt_forms_struct **list); int write_ntforms(nt_forms_struct **list, int number); BOOL add_a_form(nt_forms_struct **list, const FORM *form, int *count); +BOOL delete_a_form(nt_forms_struct **list, UNISTR2 *del_name, int *count, uint32 *ret); void update_a_form(nt_forms_struct **list, const FORM *form, int count); int get_ntdrivers(fstring **list, char *architecture, uint32 version); BOOL get_short_archi(char *short_archi, char *long_archi); @@ -2886,6 +2887,8 @@ void free_spoolss_q_setprinterdata(SPOOL_Q_SETPRINTERDATA *q_u); BOOL spoolss_io_r_setprinterdata(char *desc, SPOOL_R_SETPRINTERDATA *r_u, prs_struct *ps, int depth); BOOL convert_specific_param(NT_PRINTER_PARAM **param, const UNISTR2 *value, uint32 type, const uint8 *data, uint32 len); +BOOL spoolss_io_q_deleteform(char *desc, SPOOL_Q_DELETEFORM *q_u, prs_struct *ps, int depth); +BOOL spoolss_io_r_deleteform(char *desc, SPOOL_R_DELETEFORM *r_u, prs_struct *ps, int depth); BOOL spoolss_io_q_addform(char *desc, SPOOL_Q_ADDFORM *q_u, prs_struct *ps, int depth); BOOL spoolss_io_r_addform(char *desc, SPOOL_R_ADDFORM *r_u, prs_struct *ps, int depth); BOOL spoolss_io_q_setform(char *desc, SPOOL_Q_SETFORM *q_u, prs_struct *ps, int depth); @@ -3180,6 +3183,7 @@ uint32 _spoolss_setprinterdata( POLICY_HND *handle, uint32 _spoolss_addform( POLICY_HND *handle, uint32 level, const FORM *form); +uint32 _spoolss_deleteform( POLICY_HND *handle, UNISTR2 *form_name); uint32 _spoolss_setform( POLICY_HND *handle, const UNISTR2 *uni_name, uint32 level, |