summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-20 08:49:50 -0400
committerGünther Deschner <gd@samba.org>2011-03-29 16:03:49 +0200
commit1d33474dad5a101666044f58a00f33bd6a134080 (patch)
tree85805b70b5380673ef8c935a111634ca20315d65
parentbd9b2727ef1cb63630c58afe1bba2f4f93246180 (diff)
downloadsamba-1d33474dad5a101666044f58a00f33bd6a134080.tar.gz
samba-1d33474dad5a101666044f58a00f33bd6a134080.tar.bz2
samba-1d33474dad5a101666044f58a00f33bd6a134080.zip
s3:printing Make print_queue_receive public
Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/include/printing.h5
-rw-r--r--source3/printing/printing.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/source3/include/printing.h b/source3/include/printing.h
index 3752b9c3b1..084c699c5b 100644
--- a/source3/include/printing.h
+++ b/source3/include/printing.h
@@ -251,4 +251,9 @@ 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);
+void print_queue_receive(struct messaging_context *msg,
+ void *private_data,
+ uint32_t msg_type,
+ struct server_id server_id,
+ DATA_BLOB *data);
#endif /* PRINTING_H_ */
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index b1aff3e6de..177048da51 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1560,7 +1560,7 @@ static void print_queue_update_with_lock( struct tevent_context *ev,
/****************************************************************************
this is the receive function of the background lpq updater
****************************************************************************/
-static void print_queue_receive(struct messaging_context *msg,
+void print_queue_receive(struct messaging_context *msg,
void *private_data,
uint32_t msg_type,
struct server_id server_id,