project_files/frontlib/ipc/ipcconn.h
changeset 7179 f84805e6df03
parent 7177 bf6cf4dd847a
child 7224 5143861c83bd
equal deleted inserted replaced
7177:bf6cf4dd847a 7179:f84805e6df03
     3  */
     3  */
     4 
     4 
     5 #ifndef IPCCONN_H_
     5 #ifndef IPCCONN_H_
     6 #define IPCCONN_H_
     6 #define IPCCONN_H_
     7 
     7 
     8 #include "../buffer.h"
     8 #include "../util/buffer.h"
     9 
     9 
    10 #include <stddef.h>
    10 #include <stddef.h>
    11 #include <stdbool.h>
    11 #include <stdbool.h>
    12 
    12 
    13 #define IPCCONN_MAPMSG_BYTES 4097
    13 #define IPCCONN_MAPMSG_BYTES 4097
    16 
    16 
    17 struct _flib_ipcconn;
    17 struct _flib_ipcconn;
    18 typedef struct _flib_ipcconn *flib_ipcconn;
    18 typedef struct _flib_ipcconn *flib_ipcconn;
    19 
    19 
    20 /**
    20 /**
       
    21  * TODO move demo recording up by one layer?
       
    22  *
    21  * Start an engine connection by listening on a random port. The selected port can
    23  * Start an engine connection by listening on a random port. The selected port can
    22  * be queried with flib_ipcconn_port and has to be passed to the engine.
    24  * be queried with flib_ipcconn_port and has to be passed to the engine.
    23  *
    25  *
    24  * The parameter "recordDemo" can be used to control whether demo recording should
    26  * The parameter "recordDemo" can be used to control whether demo recording should
    25  * be enabled for this connection. The localPlayerName is needed for demo
    27  * be enabled for this connection. The localPlayerName is needed for demo