i3/i3bar/include/ipc.h

15 lines
306 B
C
Raw Normal View History

2010-07-22 01:15:18 +02:00
#ifndef IPC_H_
#define IPC_H_
#include <ev.h>
ev_io* i3_events;
ev_io* outputs_watcher;
ev_io* workspaces_watcher;
void init_i3(const char* socket_path);
void get_outputs_json(void (*callback)(char*, void*), void* params);
void get_workspaces_json(void (*callback)(char*, void*), void* params);
#endif