--- libaitcli/src/telnet.c 2013/01/17 16:04:31 1.3.4.1 +++ libaitcli/src/telnet.c 2013/05/30 09:16:42 1.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: telnet.c,v 1.3.4.1 2013/01/17 16:04:31 misho Exp $ +* $Id: telnet.c,v 1.4 2013/05/30 09:16:42 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -335,7 +335,7 @@ cli_telnetSend(int sock, struct telnetAttrs *attr, int * @datLen = data size set max size in input, output return copy size * return: -1 can`t get option; !=-1 option code */ -inline int +int cli_telnet_Get_SubOpt(struct telnetAttrs *attr, u_char *code, void *data, u_char *datLen) { u_char *pos, len; @@ -372,7 +372,7 @@ cli_telnet_Get_SubOpt(struct telnetAttrs *attr, u_char * @datLen = data size, if 0 not specified * return: -1 can`t set sub-otion; 0 ok */ -inline int +int cli_telnet_Set_SubOpt(struct telnetAttrs *attr, u_char opt, u_char code, void *data, u_char datLen) { u_char len; @@ -408,7 +408,7 @@ cli_telnet_Set_SubOpt(struct telnetAttrs *attr, u_char * @attr = input attribute * return: -1 can`t get command; !=-1 command <<24 return sublen, <<8 return option, <<0 command */ -inline u_int +u_int cli_telnet_GetCmd(struct telnetAttrs *attr) { u_int ret = 0; @@ -442,7 +442,7 @@ cli_telnet_GetCmd(struct telnetAttrs *attr) * @arg3 = sub-option data size, if 0 not specified data * return: -1 can`t set command; !=-1 ok */ -inline int +int cli_telnet_SetCmd(struct telnetAttrs *attr, u_char cmd, u_char opt, ...) { va_list lst;