projects
/
project
/
procd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cc063b36b54a741174d4aac6c6992ecc87b8b136
[project/procd.git]
/
procd.h
1
#ifndef __PROCD_H
2
#define __PROCD_H
3
4
#include <libubox/uloop.h>
5
#include <stdio.h>
6
7
#define DPRINTF(fmt, ...) do { \
8
if (debug) \
9
fprintf(stderr,
"DEBUG %s(%d): "
fmt, __func__, __LINE__, ## __VA_ARGS__); \
10
} while (0)
11
12
extern
int
debug
;
13
extern
char
*
ubus_socket
;
14
void
procd_connect_ubus
(
void
);
15
16
#endif