cptest.h

Go to the documentation of this file.
00001 
00008 #ifndef AV_CPTEST_H
00009 #define AV_CPTEST_H
00010 
00011 #include <cybergarage/upnp/ccontrolpoint.h>
00012 
00018 typedef int (*TEST_CASE_FUNCTION)(CgUpnpControlPoint*);
00019 typedef struct _AVCPTestCase
00020 {
00021         char name[256];
00022         int result;
00023 
00024         TEST_CASE_FUNCTION func;
00025 
00026 } AVCPTestCase;
00027 
00034 typedef int (*SUB_TEST_CASE_FUNCTION)(CgUpnpControlPoint*, char*);
00035 typedef struct _AVCPSubTestCase
00036 {
00037         char name[256];
00038         int result;
00039 
00040         SUB_TEST_CASE_FUNCTION func;
00041         void* result_data;
00042 
00043 } AVCPSubTestCase;
00044 
00048 CgUpnpControlPoint* init_upnp_controlpoint(void);
00049 
00053 int destroy_upnp_controlpoint(CgUpnpControlPoint* cp);
00054 
00064 char* cp_test_get_device_udn_with_service(CgUpnpControlPoint* cp,
00065                                           char* service_name);
00066 
00076 int cp_test_find_test_case(AVCPTestCase* tc_array, int size, char* name);
00077 
00078 #endif

Generated on Mon Aug 14 10:23:32 2006 for CyberLinkC-AV by  doxygen 1.4.6