1 /**********************************************************************************
5 **************************************************
6 * This code was created by Peter Harvey @ CodeByDesign.
7 * Released under LGPL 28.JAN.99
9 * Contributions from...
10 * -----------------------------------------------
11 * Peter Harvey - pharvey@codebydesign.com
12 **************************************************/
14 #include "inifile_intern.h"
16 #include <aros/libcall.h>
18 /*****************************************************************************
20 AROS_LH2(int, iniObject
,
23 AROS_LHA(HINI
, hIni
, D0
),
24 AROS_LHA(char *, pszObject
, A0
),
27 struct Library
*, inifileBase
, 19, inifile
)
47 *****************************************************************************/
55 if ( hIni
->hCurObject
== NULL
)
59 strncpy( pszObject
, hIni
->hCurObject
->szName
, INI_MAX_OBJECT_NAME
);