]> git.sur5r.net Git - gsconf/blob - shell.h
A bunch of fixes for various compiler warnings
[gsconf] / shell.h
1 #ifndef SHELL_H
2 #define SHELL_H
3
4 #define _BSD_SOURCE
5
6 #include <stdio.h>
7 #include "socket.h"
8
9 #include "gs105e.h"
10 #include <stdlib.h>
11 #include <string.h>
12 #include <unistd.h>
13
14 #include <pwd.h>
15
16 void shell_ip(char ** argv, int elem);
17 char * copyString(char * data);
18
19 int shell(void);
20 void password(void) ;
21 void printError(int errCode);
22 void printIp(char * data);
23 void shell_port(char ** argv, int elem);
24 void shell_sys(char ** argv, int elem);
25 void shell_vlan(char **argv, int elem);
26
27 #endif