Be more strict with encapsulation
I.e. move the xcb-event-handling into xcb.c and the child-process-communications into newly created child.c. Also change some includes.
This commit is contained in:
9
i3bar/include/child.h
Normal file
9
i3bar/include/child.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef CHILD_H_
|
||||
#define CHILD_H_
|
||||
|
||||
#define STDIN_CHUNK_SIZE 1024
|
||||
|
||||
void start_child(char *command);
|
||||
void kill_child();
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user