2 Copyright © 2009, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
8 #define PREFS_PATH_ENV "ENV:AROSTCP"
9 #define PREFS_PATH_ENVARC "ENVARC:AROSTCP"
10 #define AROSTCP_PACKAGE_VARIABLE "SYS/Packages/AROSTCP"
17 NOT_SAVED_PREFS_ENVARC
,
19 NOT_COPIED_FILES_ENVARC
,
36 void InitNetworkPrefs(CONST_STRPTR directory
, BOOL use
, BOOL save
);
37 enum ErrorCode
SaveNetworkPrefs();
38 enum ErrorCode
UseNetworkPrefs();
44 STRPTR
GetDNS(LONG m
);
52 void SetMask(STRPTR w
);
53 void SetGate(STRPTR w
);
54 void SetDNS(LONG m
, STRPTR w
);
56 void SetDevice(STRPTR w
);
57 void SetHost(STRPTR w
);
58 void SetDomain(STRPTR w
);
59 void SetAutostart(BOOL w
);