35 int main(
int argc,
char *argv[])
41 if ((rc =
hpd_alloc(&hpd)))
goto error_return;
48 if ((rc =
hpd_start(hpd, argc, argv)))
goto error_free;
51 if ((rc =
hpd_free(hpd)))
goto error_return;
hpd_error_t hpd_start(hpd_t *hpd, int argc, char *argv[])
enum hpd_error hpd_error_t
hpd_error_t hpd_module(hpd_t *hpd, const char *id, const hpd_module_def_t *module_def)
struct hpd_module_def template_adapter_def
[declarations]
hpd_error_t hpd_alloc(hpd_t **hpd)
[hpd_t functions]
int main(int argc, char *argv[])
[includes]
hpd_error_t hpd_free(hpd_t *hpd)
struct hpd_module_def template_app_def
[file]