diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-03 05:27:26 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-03 05:27:26 +0000 |
commit | 93169a1f34f180f8a469a25532792f23e55e6966 (patch) | |
tree | c8ffcb88093b74257b091dd6983a6b87798f4d4c /source3/include | |
parent | e9f555e4bd0c778e40f9661562806fb52dc421d9 (diff) | |
download | samba-93169a1f34f180f8a469a25532792f23e55e6966.tar.gz samba-93169a1f34f180f8a469a25532792f23e55e6966.tar.bz2 samba-93169a1f34f180f8a469a25532792f23e55e6966.zip |
Roll back to using malloc/realloc on some of spoolss in head.
I'm having problems with talloc_realloc in the 2.2 branch and I
want a stable reference.
The only problem is this breaks the clean auto-generated code
in *one* call in srv_spoolss.c (the rfnpcnex call).
Jeremy.
(This used to be commit 57a9340cbafa40f3a41e6c676c6f2477855fd799)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index ff004bbabd..d9154cca6f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1962,9 +1962,9 @@ BOOL parse_lpq_entry(int snum,char *line, #if OLD_NTDOMAIN BOOL nt_printing_init(void); -int get_ntforms(TALLOC_CTX *ctx, nt_forms_struct **list); +int get_ntforms(nt_forms_struct **list); int write_ntforms(nt_forms_struct **list, int number); -BOOL add_a_form(TALLOC_CTX *ctx, nt_forms_struct **list, const FORM *form, int *count); +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); |