Made UAE buildable again.
[AROS-Contrib.git] / libini / inifile_init.c
blob9bc7c8c936718661aa89d1cb2c428544c7095b28
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: bsdsocket initialization code.
6 Lang: English.
7 */
9 /****************************************************************************************/
11 #include <exec/types.h>
12 #include <exec/libraries.h>
13 #include <proto/exec.h>
14 #include <aros/symbolsets.h>
15 #include <aros/macros.h>
16 #include <utility/utility.h>
18 #include "inifile_intern.h"
20 #define DEBUG 1
21 # include <aros/debug.h>
23 #include LC_LIBDEFS_FILE
25 /****************************************************************************************/
27 static int Init(LIBBASETYPEPTR LIBBASE)
29 D(bug(NAME_STRING ": Inside libinit func \n"));
31 return TRUE;
34 /****************************************************************************************/
36 static int Open(LIBBASETYPEPTR LIBBASE)
39 This function is single-threaded by exec by calling Forbid.
40 If you break the Forbid() another task may enter this function
41 at the same time. Take care.
43 D(bug(NAME_STRING ": Inside libopen func \n"));
45 return TRUE;
48 /****************************************************************************************/
50 static int Expunge(LIBBASETYPEPTR LIBBASE)
53 This function is single-threaded by exec by calling Forbid.
54 Never break the Forbid() or strange things might happen.
57 /* Test for openers. */
58 D(bug(NAME_STRING ": Inside libexpunge func \n"));
60 return TRUE;
63 /****************************************************************************************/
65 static void Close(LIBBASETYPEPTR LIBBASE)
68 This function is single-threaded by exec by calling Forbid.
69 If you break the Forbid() another task may enter this function
70 at the same time. Take care.
73 D(bug(NAME_STRING ": Inside libclose func\n"));
75 return TRUE;
78 /****************************************************************************************/
80 ADD2INITLIB(Init, 0);
81 ADD2OPENLIB(Open, 0);
82 ADD2CLOSELIB(Close, 0);
83 ADD2EXPUNGELIB(Expunge, 0);