From ff98ee6f9e66ba850274463ca7f125c01a02d73e Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 10 Jan 2014 21:07:58 +0100 Subject: mplayer_server: change the type of callback_t 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b8d27b8..5081274 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC ?= gcc CFLAGS += -W -Wall -std=gnu99 -Wextra CFLAGS += -D _XOPEN_SOURCE -#CFLAGS += -D LOGS +CFLAGS += -D LOGS NAME = mplayer_server SRC = main.c callbacks.c escape.c logs.c -- cgit v1.2.3