projects
/
my-code
/
ivac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first udp tries ...
[my-code/ivac.git]
/
src
/
ivac.h
diff --git
a/src/ivac.h
b/src/ivac.h
index
af64d04
..
2bd69c5
100644
(file)
--- a/
src/ivac.h
+++ b/
src/ivac.h
@@
-7,13
+7,11
@@
#define _GNU_SOURCE
#include <stdio.h>
#define _GNU_SOURCE
#include <stdio.h>
-/* for ui */
-#include <ncurses.h>
-
#include "network.h"
#include "event.h"
#include "input.h"
#include "display.h"
#include "network.h"
#include "event.h"
#include "input.h"
#include "display.h"
+#include "audio.h"
/* defines */
#define CHAR_USERNAME 32
/* defines */
#define CHAR_USERNAME 32
@@
-21,6
+19,7
@@
#define SUCCESS 1
#define IVAC_LISTEN_PORT 1025
#define SUCCESS 1
#define IVAC_LISTEN_PORT 1025
+#define IVAC_UDP_PORT 1026
#define IVAC_S_SEC 2
#define IVAC_S_USEC 500
#define IVAC_S_SEC 2
#define IVAC_S_USEC 500
@@
-62,6
+61,7
@@
typedef struct s_ivac {
t_display display;
t_challenger challenger[MAX_CONNECTIONS];
char console[IVAC_CONSOLE_LEN][IVAC_CONSOLE_STRING_LEN];
t_display display;
t_challenger challenger[MAX_CONNECTIONS];
char console[IVAC_CONSOLE_LEN][IVAC_CONSOLE_STRING_LEN];
+ t_audio audio;
} t_ivac;
/* function prototypes */
} t_ivac;
/* function prototypes */