mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-06 15:50:52 +00:00
Followup to fix indentation, leading tabs, then spaces.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
ca803bb12f
commit
052b08e0b5
2 files changed
+10
-10
No files matched your search
@@ -43,7 +43,7 @@ typedef enum {
|
|||||||
/* Main libuEv context type */
|
/* Main libuEv context type */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int running;
|
int running;
|
||||||
int fd; /* For epoll() */
|
int fd; /* For epoll() */
|
||||||
uint32_t errors;
|
uint32_t errors;
|
||||||
LIST_HEAD(,uev) watchers;
|
LIST_HEAD(,uev) watchers;
|
||||||
} uev_ctx_t;
|
} uev_ctx_t;
|
||||||
@@ -53,23 +53,23 @@ struct uev;
|
|||||||
|
|
||||||
/* This is used to hide all private data members in uev_t */
|
/* This is used to hide all private data members in uev_t */
|
||||||
#define uev_private_t \
|
#define uev_private_t \
|
||||||
LIST_ENTRY(uev) link; /* For queue.h linked list */ \
|
LIST_ENTRY(uev) link; /* For queue.h linked list */ \
|
||||||
\
|
\
|
||||||
int active; \
|
int active; \
|
||||||
int events; \
|
int events; \
|
||||||
\
|
\
|
||||||
/* Watcher callback with optional argument */ \
|
/* Watcher callback with optional argument */ \
|
||||||
void (*cb)(struct uev *, void *, int); \
|
void (*cb)(struct uev *, void *, int); \
|
||||||
void *arg; \
|
void *arg; \
|
||||||
\
|
\
|
||||||
/* Timer watchers, time in milliseconds */ \
|
/* Timer watchers, time in milliseconds */ \
|
||||||
int timeout; \
|
int timeout; \
|
||||||
int period; \
|
int period; \
|
||||||
\
|
\
|
||||||
/* Signal watchers */ \
|
/* Signal watchers */ \
|
||||||
int signo; \
|
int signo; \
|
||||||
\
|
\
|
||||||
/* Watcher type */ \
|
/* Watcher type */ \
|
||||||
uev_type_t
|
uev_type_t
|
||||||
|
|
||||||
/* Internal API for dealing with generic watchers */
|
/* Internal API for dealing with generic watchers */
|
||||||
|
|||||||
Reference in new issue
Block a user