#include <revolution/so.h>
int SOInit( const SOLibraryConfig* config )
Initializes the SO library. Call this function once before calling any function provided by the SO library.
Calling the SOInit function does not involve actual communication processing.
| config | Specifies a pointer to the SOLibraryConfig structure that defined the function called by the SO library during allocation or deallocation of the dynamic work buffer. |
|---|
| 0 | Process succeeded. |
|---|---|
| SO_EALREADY |
It has already been initialized with the SOInit function.
|
| SO_EINVAL |
Either the pointer specified in config is invalid, or the function pointers specified in each field of config are invalid.
|
| SO_ENOMEM | Cannot allocate the required amount of memory for processing. |
Note: Errors may be added as the library is updated. Treat all negative return values as all-purpose errors.
SOFinish
SOStartup
SOStartupEx
SOLibraryConfig
2007/01/31 Initial version.
CONFIDENTIAL