s3:include: move debug.c prototypes to debug.h
authorStefan Metzmacher <metze@samba.org>
Sun, 24 Oct 2010 18:25:18 +0000 (20:25 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 24 Oct 2010 18:40:13 +0000 (18:40 +0000)
metze

source3/include/debug.h
source3/include/proto.h

index 1e7e51433d5a8fb553e1acdb14ced790339512a9..467fb2f122cd84945d98c5f26fc58cb4ef1059fa 100644 (file)
@@ -248,4 +248,25 @@ extern bool *DEBUGLEVEL_CLASS_ISSET;
 #define DEBUGSEP(level)\
        DEBUG((level),("===============================================================\n"))
 
+/* The following definitions come from lib/debug.c  */
+
+void gfree_debugsyms(void);
+const char *debug_classname_from_index(int ndx);
+int debug_add_class(const char *classname);
+int debug_lookup_classname(const char *classname);
+bool debug_parse_levels(const char *params_str);
+void debug_message(struct messaging_context *msg_ctx, void *private_data, uint32_t msg_type, struct server_id src, DATA_BLOB *data);
+void debug_init(void);
+void debug_register_msgs(struct messaging_context *msg_ctx);
+void setup_logging(const char *pname, bool interactive);
+void setup_logging_stdout( void );
+void debug_set_logfile(const char *name);
+bool reopen_logs( void );
+void force_check_log_size( void );
+bool need_to_check_log_size( void );
+void check_log_size( void );
+void dbgflush( void );
+bool dbghdrclass(int level, int cls, const char *location, const char *func);
+bool dbghdr(int level, const char *location, const char *func);
+
 #endif
index c19dd35467a07a2eb895effa0bb06be537dc23a8..0c05e6ecc58a2ba79073968a301ec203a083dfb1 100644 (file)
@@ -505,27 +505,6 @@ int connections_forall_read(int (*fn)(const struct connections_key *key,
                            void *private_data);
 bool connections_init(bool rw);
 
-/* The following definitions come from lib/debug.c  */
-
-void gfree_debugsyms(void);
-const char *debug_classname_from_index(int ndx);
-int debug_add_class(const char *classname);
-int debug_lookup_classname(const char *classname);
-bool debug_parse_levels(const char *params_str);
-void debug_message(struct messaging_context *msg_ctx, void *private_data, uint32_t msg_type, struct server_id src, DATA_BLOB *data);
-void debug_init(void);
-void debug_register_msgs(struct messaging_context *msg_ctx);
-void setup_logging(const char *pname, bool interactive);
-void setup_logging_stdout( void );
-void debug_set_logfile(const char *name);
-bool reopen_logs( void );
-void force_check_log_size( void );
-bool need_to_check_log_size( void );
-void check_log_size( void );
-void dbgflush( void );
-bool dbghdrclass(int level, int cls, const char *location, const char *func);
-bool dbghdr(int level, const char *location, const char *func);
-
 /* The following definitions come from lib/display_sec.c  */
 
 char *get_sec_mask_str(TALLOC_CTX *ctx, uint32 type);