ANSC_HANDLE BbhmDiagnsCreate ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PANSC_COMPONENT_OBJECT pBaseObject = NULL; PBBHM_DIAG_NS_LOOKUP_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PBBHM_DIAG_NS_LOOKUP_OBJECT)AnscAllocateMemory(sizeof(BBHM_DIAG_NS_LOOKUP_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a container object. */ AnscCopyString(pBaseObject->Name, BBHM_DIAG_NS_LOOKUP_NAME); pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = BBHM_DIAG_NS_LOOKUP_OID; pBaseObject->Create = BbhmDiagnsCreate; pBaseObject->Remove = BbhmDiagnsRemove; pBaseObject->EnrollObjects = BbhmDiagnsEnrollObjects; pBaseObject->Initialize = BbhmDiagnsInitialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); g_DiagNSLookupObj = pMyObject; return (ANSC_HANDLE)pMyObject; }
ANSC_HANDLE HttpScoCreate ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PANSC_COMPONENT_OBJECT pBaseObject = NULL; PHTTP_SIMPLE_CLIENT_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PHTTP_SIMPLE_CLIENT_OBJECT)AnscAllocateMemory(sizeof(HTTP_SIMPLE_CLIENT_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a container object. */ #ifndef _CCSP_CWMP_TCP_CONNREQ_HANDLER AnscCopyString(pBaseObject->Name, HTTP_SIMPLE_CLIENT_NAME); #endif pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = HTTP_SIMPLE_CLIENT_OID; pBaseObject->Create = HttpScoCreate; pBaseObject->Remove = HttpScoRemove; pBaseObject->EnrollObjects = HttpScoEnrollObjects; pBaseObject->Initialize = HttpScoInitialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); return (ANSC_HANDLE)pMyObject; }
ANSC_HANDLE HttpMboIdtCreate ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PANSC_COMPONENT_OBJECT pBaseObject = NULL; PHTTP_MBO_IDENTITY_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PHTTP_MBO_IDENTITY_OBJECT)AnscAllocateMemory(sizeof(HTTP_MBO_IDENTITY_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a container object. */ /* AnscCopyString(pBaseObject->Name, HTTP_MBO_IDENTITY_NAME); */ pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = HTTP_MBO_IDENTITY_OID; pBaseObject->Create = HttpMboIdtCreate; pBaseObject->Remove = HttpMboIdtRemove; pBaseObject->EnrollObjects = HttpMboIdtEnrollObjects; pBaseObject->Initialize = HttpMboIdtInitialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); return (ANSC_HANDLE)pMyObject; }
ANSC_HANDLE WebMcoCreate ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PANSC_COMPONENT_OBJECT pBaseObject = NULL; PWEB_MODULE_CONTAINER_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PWEB_MODULE_CONTAINER_OBJECT)AnscAllocateMemory(sizeof(WEB_MODULE_CONTAINER_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a container object. */ AnscCopyString(pBaseObject->Name, WEB_MODULE_CONTAINER_NAME); pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = WEB_MODULE_CONTAINER_OID; pBaseObject->Create = WebMcoCreate; pBaseObject->Remove = WebMcoRemove; pBaseObject->EnrollObjects = WebMcoEnrollObjects; pBaseObject->Initialize = WebMcoInitialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); return (ANSC_HANDLE)pMyObject; }
ANSC_HANDLE CcspCwmpsoCreate ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PANSC_COMPONENT_OBJECT pBaseObject = NULL; PCCSP_CWMP_SESSION_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PCCSP_CWMP_SESSION_OBJECT)CcspTr069PaAllocateMemory(sizeof(CCSP_CWMP_SESSION_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a container object. */ /* AnscCopyString(pBaseObject->Name, CCSP_CWMP_SESSION_NAME); */ pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = CCSP_CWMP_SESSION_OID; pBaseObject->Create = CcspCwmpsoCreate; pBaseObject->Remove = CcspCwmpsoRemove; pBaseObject->EnrollObjects = CcspCwmpsoEnrollObjects; pBaseObject->Initialize = CcspCwmpsoInitialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); return (ANSC_HANDLE)pMyObject; }
ANSC_HANDLE AnscObjectArrayCOCreate ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PANSC_COMPONENT_OBJECT pBaseObject = NULL; PANSC_OBJECT_ARRAY_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PANSC_OBJECT_ARRAY_OBJECT)AnscAllocateMemory(sizeof(ANSC_OBJECT_ARRAY_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a component object. */ AnscCopyString(pBaseObject->Name, ANSC_OBJECT_ARRAY_COMPONENT_NAME); pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = ANSC_OBJECT_ARRAY_COMPONENT_OID; pBaseObject->Create = AnscObjectArrayCOCreate; pBaseObject->Remove = AnscObjectArrayCORemove; pBaseObject->EnrollObjects = AnscObjectArrayCOEnrollObjects; pBaseObject->Initialize = AnscObjectArrayCOInitialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); return (ANSC_HANDLE)pMyObject; }
ANSC_HANDLE SysIroV2Create ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PANSC_COMPONENT_OBJECT pBaseObject = NULL; PSYS_IROV2_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PSYS_IROV2_OBJECT)AnscAllocateMemory(sizeof(SYS_IROV2_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a container object. */ AnscCopyString(pBaseObject->Name, SYS_INFO_REPOSITORY_NAME); pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = SYS_INFO_REPOSITORY_OID; pBaseObject->Create = SysIroV2Create; pBaseObject->Remove = SysIroV2Remove; pBaseObject->EnrollObjects = SysIroV2EnrollObjects; pBaseObject->Initialize = SysIroV2Initialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); return (ANSC_HANDLE)pMyObject; }
ANSC_HANDLE TlsHsoServerCreate ( ANSC_HANDLE hContainerContext, ANSC_HANDLE hOwnerContext, ANSC_HANDLE hAnscReserved ) { PANSC_COMPONENT_OBJECT pBaseObject = NULL; PTLS_HSO_SERVER_OBJECT pMyObject = NULL; /* * We create object by first allocating memory for holding the variables and member functions. */ pMyObject = (PTLS_HSO_SERVER_OBJECT)AnscAllocateMemory(sizeof(TLS_HSO_SERVER_OBJECT)); if ( !pMyObject ) { return (ANSC_HANDLE)NULL; } else { pBaseObject = (PANSC_COMPONENT_OBJECT)pMyObject; } /* * Initialize the common variables and functions for a container object. */ /* AnscCopyString(pBaseObject->Name, TLS_HSO_SERVER_NAME); */ pBaseObject->hContainerContext = hContainerContext; pBaseObject->hOwnerContext = hOwnerContext; pBaseObject->Oid = TLS_HSO_SERVER_OID; pBaseObject->Create = TlsHsoServerCreate; pBaseObject->Remove = TlsHsoServerRemove; pBaseObject->EnrollObjects = TlsHsoServerEnrollObjects; pBaseObject->Initialize = TlsHsoServerInitialize; pBaseObject->EnrollObjects((ANSC_HANDLE)pBaseObject); pBaseObject->Initialize ((ANSC_HANDLE)pBaseObject); return (ANSC_HANDLE)pMyObject; }