This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
Makes this example run valgrind clean.
==7424== HEAP SUMMARY:
==7424== in use at exit: 0 bytes in 0 blocks
==7424== total heap usage: 96,908 allocs, 96,908 frees, 190,708,768 bytes allocated
vs.
==5408== HEAP SUMMARY:
==5408== in use at exit: 96 bytes in 2 blocks
==5408== total heap usage: 96,908 allocs, 96,906 frees, 190,708,768 bytes allocated
==5408==
==5408== 96 (48 direct, 48 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 2
==5408== at 0x4C2DBF6: malloc (vg_replace_malloc.c:299)
==5408== by 0x40312A: main (server_types_custom.c:68)
==5408==
==5408== LEAK SUMMARY:
==5408== definitely lost: 48 bytes in 1 blocks
==5408== indirectly lost: 48 bytes in 1 blocks
before
Make use of EXIT_SUCCESS and EXIT_FAILURE from stdlib.h.
The previous approach of returning a value from UA_StatusCode
was often broken as an exit code can (portably) only be between 0 and 125.