summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-15 22:17:23 +0100
committerGünther Deschner <gd@samba.org>2009-02-07 01:52:28 +0100
commitb56c5bf5105ef3ddb1dd7525476323d2f503e59e (patch)
tree8d1db489e2a4a60d7472d7d6bca626506a1b5144 /source3/include
parentb8cd20cd5c3ff537d48a05dd04886ced107da7ae (diff)
downloadsamba-b56c5bf5105ef3ddb1dd7525476323d2f503e59e.tar.gz
samba-b56c5bf5105ef3ddb1dd7525476323d2f503e59e.tar.bz2
samba-b56c5bf5105ef3ddb1dd7525476323d2f503e59e.zip
s3-spoolss: rework some form functions and add form_by_string functions.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index aae8dbfd54..ed875b1caa 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4788,10 +4788,12 @@ uint32 update_c_setprinter(bool initialize);
uint32 get_c_setprinter(void);
int get_builtin_ntforms(nt_forms_struct **list);
bool get_a_builtin_ntform(UNISTR2 *uni_formname,nt_forms_struct *form);
+bool get_a_builtin_ntform_by_string(const char *form_name, nt_forms_struct *form);
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, WERROR *ret);
+bool delete_a_form_by_string(nt_forms_struct **list, const char *del_name, int *count, WERROR *ret);
void update_a_form(nt_forms_struct **list, const FORM *form, int count);
int get_ntdrivers(fstring **list, const char *architecture, uint32 version);
const char *get_short_archi(const char *long_archi);