2 * Scout - The Amiga System Monitor
4 *------------------------------------------------------------------
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 *------------------------------------------------------------------
22 * @author Andreas Gelhausen
23 * @author Richard Körber <rkoerber@gmx.de>
27 /* Prototypes for functions defined in
31 extern BOOL clientstate
;
33 extern BOOL shellstate
;
35 extern char username
[11];
37 extern char password
[129];
43 int sgets(int , STRPTR
, int );
45 void PrintNetHelp( STRPTR
);
47 int VARARGS68K STDARGS
SendDaemon( CONST_STRPTR
, ... );
49 BOOL
ReceiveDecodedEntry( void *structure
, ULONG length
);
51 int ConnectToServer( void );
53 ULONG
netshellclient( void );
55 int isNetCall( void );
57 int isCommand( STRPTR
, CONST_STRPTR
);
59 int VARARGS68K STDARGS
SendClient( CONST_STRPTR
, ... );
61 BOOL
SendEncodedEntry( void *structure
, ULONG length
);
63 long VARARGS68K STDARGS
SendResultString( CONST_STRPTR
, ... );
65 void VARARGS68K STDARGS
PrintFOneLine( BPTR hd
, CONST_STRPTR fmt
, ... );
67 ULONG
ExecuteCommand( STRPTR
);
69 ULONG
netdaemon(void);
71 ULONG VARARGS68K STDARGS
MyDoCommand( CONST_STRPTR
, ... );
73 extern CONST_STRPTR CMD_END
;