hide queue vars, remove legacy name in log.h
This commit is contained in:
@@ -24,8 +24,8 @@
|
|||||||
#include "sql.h"
|
#include "sql.h"
|
||||||
#include "job_queue.h"
|
#include "job_queue.h"
|
||||||
|
|
||||||
struct msg_t **slot;
|
static struct msg_t **slot;
|
||||||
int total_queues;
|
static int total_queues;
|
||||||
|
|
||||||
int start_msg_queue(void)
|
int start_msg_queue(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,11 +19,11 @@
|
|||||||
* along with RMPS. If not, see <http://www.gnu.org/licenses/>.
|
* along with RMPS. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LOG_TRACE_H
|
#ifndef LOGGING
|
||||||
#define LOG_TRACE_H
|
#define LOGGING
|
||||||
|
|
||||||
#undef log
|
#undef log
|
||||||
#define log log_trace
|
#define log logging
|
||||||
|
|
||||||
enum LOG_LEVEL {
|
enum LOG_LEVEL {
|
||||||
ERROR = 1, /* Errors only */
|
ERROR = 1, /* Errors only */
|
||||||
@@ -35,5 +35,5 @@ enum LOG_LEVEL {
|
|||||||
void log_ssl(void);
|
void log_ssl(void);
|
||||||
void log(enum LOG_LEVEL lvl, char *fmt, ...);
|
void log(enum LOG_LEVEL lvl, char *fmt, ...);
|
||||||
|
|
||||||
#endif /* LOG_TRACE_H */
|
#endif /* LOGGING */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user