s3:printing Make print_queue_receive public
authorSimo Sorce <ssorce@redhat.com>
Thu, 20 May 2010 12:49:50 +0000 (08:49 -0400)
committerGünther Deschner <gd@samba.org>
Tue, 29 Mar 2011 14:03:49 +0000 (16:03 +0200)
Signed-off-by: Günther Deschner <gd@samba.org>
source3/include/printing.h
source3/printing/printing.c

index 3752b9c3b11076fc05671ec68efb1d7399e15780..084c699c5bd229a0f0049c3eb4a5ec796aa7364d 100644 (file)
@@ -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_ */
index b1aff3e6de8a2b2628e7d7e0cb2227171ce78694..177048da510fae939f65f60c899fd573dac6eb66 100644 (file)
@@ -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,