diff options
author | Günther Deschner <gd@samba.org> | 2011-05-05 11:25:29 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-05-06 10:48:10 +0200 |
commit | d8cfca3a9bd2b6b6c562fd202377d95a98eb5472 (patch) | |
tree | 96fc9d454a01cbb2c26a8db22f41b8bf0dc40879 /source3/include/printing.h | |
parent | 8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c (diff) | |
download | samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.gz samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.bz2 samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.zip |
s3: only include tdb headers where needed.
Guenther
Diffstat (limited to 'source3/include/printing.h')
-rw-r--r-- | source3/include/printing.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h index 084c699c5b..bba7d53a16 100644 --- a/source3/include/printing.h +++ b/source3/include/printing.h @@ -158,9 +158,12 @@ extern struct printif iprint_printif; /* There can be this many printing tdb's open, plus any locked ones. */ #define MAX_PRINT_DBS_OPEN 1 +struct TDB_DATA; +struct tdb_context; + struct tdb_print_db { struct tdb_print_db *next, *prev; - TDB_CONTEXT *tdb; + struct tdb_context *tdb; int ref_count; fstring printer_name; }; @@ -249,7 +252,7 @@ uint32_t print_parse_jobid(const char *fname); struct tdb_print_db *get_print_db_byname(const char *printername); void release_print_db( struct tdb_print_db *pdb); void close_all_print_db(void); -TDB_DATA get_printer_notify_pid_list(TDB_CONTEXT *tdb, const char *printer_name, bool cleanlist); +struct TDB_DATA get_printer_notify_pid_list(struct tdb_context *tdb, const char *printer_name, bool cleanlist); void print_queue_receive(struct messaging_context *msg, void *private_data, |