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 * PAH 06.MAR.99 Added this func
15 **************************************************/
17 #include "inifile_intern.h"
19 #include <aros/libcall.h>
21 /*****************************************************************************
23 AROS_LH2(int, iniObjectSeekSure
,
26 AROS_LHA(HINI
, hIni
, D0
),
27 AROS_LHA(char *, pszObject
, A0
),
30 struct Library
*, inifileBase
, 27, inifile
)
50 *****************************************************************************/
62 if ( (nReturn
= iniObjectSeek( hIni
, pszObject
)) == INI_NO_DATA
)
63 return iniObjectInsert( hIni
, pszObject
);
68 } /* iniObjectSeekSure */