de-lint. disable c++ parentheses warnings. fix casts in AROSPDFApp.cc
[AROS-Contrib.git] / libini / iniCursor.c
blob31d6f5af9eb0d44d065aadc1159feb2c2fc47f0b
1 /**********************************************************************************
2 * iniCursor
5 **************************************************
6 * This code was created by Peter Harvey @ CodeByDesign.
7 * Released under LGPL 28.JAN.99
9 * Contributions from...
10 * -----------------------------------------------
11 * PAH = Peter Harvey - pharvey@codebydesign.com
12 * -----------------------------------------------
14 * PAH 18.MAR.99 Created.
15 **************************************************/
17 #include "inifile_intern.h"
18 #include "ini.h"
19 #include <aros/libcall.h>
21 /*****************************************************************************
23 NAME */
24 AROS_LH2(int, iniCursor,
26 /* SYNOPSIS */
27 AROS_LHA(HINI, hIni, D0),
28 AROS_LHA(HINI, hIniCursor, D1),
30 /* LOCATION */
31 struct Library *, inifileBase, 12, inifile)
33 /* FUNCTION
35 INPUTS
37 RESULT
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 HISTORY
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 if ( hIni == NULL || hIniCursor == NULL )
56 return INI_ERROR;
58 memcpy( hIniCursor, hIni, sizeof(INI) );
60 return INI_SUCCESS;
62 AROS_LIBFUNC_EXIT
63 } /* iniCursor */