summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2014-01-18mplayer_server: change the type of callback_tHEADmasterOlivier Gayot
we need to access the opcode of the callbacks from outside of the server (i.e. in the future clients). the type callback_t is now a pointer to function and can be accessed using callbacks_g[opcode] where the opcodes are enumerated in request.h a new file named pub_callbacks.h has been added. it will be used later by the client and must not be server dependant closes #1
2013-11-19mplayer_server: change the buffering typegayot_o
The stream connected with the mplayer subprocess used to be unbuffered. Since we do not need to write every character one by one, we can set it to line buffered.
2013-11-19mplayer_server: first version of the servergayot_o