summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-06-20 18:40:32 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-06-20 11:18:35 +0200
commita4993f647cfc5b8e0cf4405cc1d8815770837310 (patch)
tree13cefa491e51a3b757743e1d44772fdaffc205b6 /source3/include
parent58f7cda1bc6b7767c318a038bdb686f4e59e2e64 (diff)
downloadsamba-a4993f647cfc5b8e0cf4405cc1d8815770837310.tar.gz
samba-a4993f647cfc5b8e0cf4405cc1d8815770837310.tar.bz2
samba-a4993f647cfc5b8e0cf4405cc1d8815770837310.zip
ldb: replace 'struct TDB_DATA' with 'TDB_DATA'
The typedef is TDB2 compatible, the struct isn't. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/printing.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index bba7d53a16..1bbb72c7be 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -24,6 +24,7 @@
This file defines the low-level printing system interfaces used by the
SAMBA printing subsystem.
*/
+#include "tdb_compat.h"
/* Extra fields above "LPQ_PRINTING" are used to map extra NT status codes. */
@@ -158,9 +159,6 @@ 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;
struct tdb_context *tdb;
@@ -252,7 +250,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);
-struct TDB_DATA get_printer_notify_pid_list(struct tdb_context *tdb, const char *printer_name, bool cleanlist);
+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,