Removed incomplete file search tool. It was in "contrib"
[AROS-Contrib.git] / libini / iniPropertyNext.c
blobf45674405c7d13a337d020a4e96fbee467bac89a
1 /**********************************************************************************
2 * .
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"
15 #include "ini.h"
16 #include <aros/libcall.h>
18 /*****************************************************************************
19 NAME */
20 AROS_LH1(int, iniPropertyNext,
22 /* SYNOPSIS */
23 AROS_LHA(HINI, hIni, D0),
25 /* LOCATION */
26 struct Library *, inifileBase, 36, inifile)
28 /* FUNCTION
30 INPUTS
32 RESULT
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 HISTORY
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 /* SANITY CHECKS */
51 if ( hIni == NULL )
52 return INI_ERROR;
54 if ( hIni->hCurObject == NULL )
55 return INI_NO_DATA;
57 if ( hIni->hCurProperty == NULL )
58 return INI_NO_DATA;
60 hIni->hCurProperty = hIni->hCurProperty->pNext;
62 if ( hIni->hCurProperty == NULL )
63 return INI_NO_DATA;
65 return INI_SUCCESS;
67 AROS_LIBFUNC_EXIT
68 } /* iniPropertyNext */