7.2. Naming convention and return codes

You'll notice through out the code that functions, variables and structures start with oh_. This stands for OpenHpi :)

Return codes:

Plug-ins in OpenHpi shall return 0 for success and negative numbers for errors.

Note

The use of HPI defined return codes such as SA_OK and SA_ERR_HPI_ERROR is allowed as well; given that it will not present a problem on different architectures.