summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-24 20:25:18 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-24 18:40:13 +0000
commitcbee24b2da4e067d751c3f8d30bf34a8cc1e08d0 (patch)
tree5e018b322febb4d1e91828da6ff26495060a304d
parentdbc934ee4b98f04b4c21d650a018e8aae9e437fa (diff)
downloadsamba-cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0.tar.gz
samba-cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0.tar.bz2
samba-cbee24b2da4e067d751c3f8d30bf34a8cc1e08d0.zip
s3:include: move debug.c prototypes to debug.h
metze
-rw-r--r--source3/include/debug.h21
-rw-r--r--source3/include/proto.h21
2 files changed, 21 insertions, 21 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h
index 1e7e51433d..467fb2f122 100644
--- a/source3/include/debug.h
+++ b/source3/include/debug.h
@@ -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
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c19dd35467..0c05e6ecc5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -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);