udunits.h | udunits.h | |||
---|---|---|---|---|
skipping to change at line 77 | skipping to change at line 77 | |||
const char *path | const char *path | |||
)); | )); | |||
/* | /* | |||
* Indicate if the units(3) package has been initialized. | * Indicate if the units(3) package has been initialized. | |||
*/ | */ | |||
extern int utIsInit PROTO(( | extern int utIsInit PROTO(( | |||
)); | )); | |||
/* | /* | |||
* Initialize a unit-structure. | ||||
*/ | ||||
extern void utIni PROTO(( | ||||
utUnit* const unit | ||||
)); | ||||
/* | ||||
* Decode a formatted unit specification into a unit-structure. | * Decode a formatted unit specification into a unit-structure. | |||
*/ | */ | |||
extern int utScan PROTO(( | extern int utScan PROTO(( | |||
const char *spec, | const char *spec, | |||
utUnit *up | utUnit *up | |||
)); | )); | |||
/* | /* | |||
* Convert a temporal value into a UTC Gregorian date and time. | * Convert a temporal value into a UTC Gregorian date and time. | |||
*/ | */ | |||
skipping to change at line 225 | skipping to change at line 232 | |||
* Add a unit-structure to the units-table. | * Add a unit-structure to the units-table. | |||
*/ | */ | |||
extern int utAdd PROTO(( | extern int utAdd PROTO(( | |||
char *name, | char *name, | |||
int HasPlural, | int HasPlural, | |||
const utUnit *unit | const utUnit *unit | |||
)); | )); | |||
/* | /* | |||
* Return the unit-structure corresponding to a unit-specification. | * Return the unit-structure corresponding to a unit-specification. | |||
* | ||||
*/ | */ | |||
extern int utFind PROTO(( | extern int utFind PROTO(( | |||
char *spec, | char *spec, | |||
utUnit *up | utUnit *up | |||
)); | )); | |||
/* | /* | |||
* Free the resources of a unit-structure. | ||||
*/ | ||||
extern void utFree PROTO(( | ||||
utUnit* const unit | ||||
)); | ||||
/* | ||||
* Terminate use of this package. | * Terminate use of this package. | |||
*/ | */ | |||
extern void utTerm PROTO(()); | extern void utTerm PROTO(()); | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif /* UT_UNITS_H_INCLUDED not defined */ | #endif /* UT_UNITS_H_INCLUDED not defined */ | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 14 lines changed or added | |||