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_LH3(int, iniPropertyUpdate
,
23 AROS_LHA(HINI
, hIni
, D0
),
24 AROS_LHA(char *, pszProperty
, A0
),
25 AROS_LHA(char *, pszValue
, A1
),
28 struct Library
*, inifileBase
, 39, inifile
)
48 *****************************************************************************/
56 if ( hIni
->hCurObject
== NULL
)
59 if ( hIni
->hCurProperty
== NULL
)
63 strncpy( hIni
->hCurProperty
->szName
, pszProperty
, INI_MAX_PROPERTY_NAME
);
64 strncpy( hIni
->hCurProperty
->szValue
, pszValue
, INI_MAX_PROPERTY_VALUE
);
69 } /* iniPropertyUpdate */