Revision e598853e lib/birdlib.h

View differences:

lib/birdlib.h
128 128

  
129 129
#define log log_msg
130 130
void log_commit(int class, buffer *buf);
131
void log_msg(char *msg, ...);
132
void log_rl(struct tbf *rl, char *msg, ...);
133
void die(char *msg, ...) NORET;
134
void bug(char *msg, ...) NORET;
131
void log_msg(const char *msg, ...);
132
void log_rl(struct tbf *rl, const char *msg, ...);
133
void die(const char *msg, ...) NORET;
134
void bug(const char *msg, ...) NORET;
135 135

  
136 136
#define L_DEBUG "\001"			/* Debugging messages */
137 137
#define L_TRACE "\002"			/* Protocol tracing */
......
143 143
#define L_FATAL "\010"			/* Fatal errors */
144 144
#define L_BUG "\011"			/* BIRD bugs */
145 145

  
146
void debug(char *msg, ...);		/* Printf to debug output */
146
void debug(const char *msg, ...);		/* Printf to debug output */
147 147

  
148 148
/* Debugging */
149 149

  

Also available in: Unified diff