]> git.sur5r.net Git - ngadmin/blob - cli/src/common.h
Merge remote-tracking branch 'upstream/master'
[ngadmin] / cli / src / common.h
1
2 #ifndef DEF_COMMON
3 #define DEF_COMMON
4
5
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
9 #include <termios.h>
10 #include <unistd.h>
11
12 #include <nsdp/str.h>
13 #include <ngadmin.h>
14
15
16 #define UNUSED                  __attribute__((unused))
17 #define NORET                   __attribute__((noreturn))
18
19
20 extern int main_loop_continue;
21 extern struct termios current_term;
22
23
24 void displaySwitchTab (const struct swi_attr *sa, int nb);
25 void printErrCode (int err);
26
27 int explode (const char *commande, char** tab, int maximum);
28
29
30 #endif
31