int main(int argc, char* argv[]) { OhNetHandleInitParams initParams = OhNetInitParamsCreate(); OhNetInitParamsSetLogOutput(initParams, logger, NULL); OhNetTestRunner(initParams); return 0; }
/* * Class: org_openhome_net_core_InitParams * Method: OhNetInitParamsCreate * Signature: ()J */ JNIEXPORT jlong JNICALL Java_org_openhome_net_core_InitParams_OhNetInitParamsCreate (JNIEnv *aEnv, jclass aClass) { aEnv = aEnv; aClass = aClass; return (jlong) (size_t)OhNetInitParamsCreate(); }