Axis2/C: neethi_registry.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# neethi_registry.h

Go to the documentation of this file.

    00001
    00002 /*
    00003  * Licensed to the Apache Software Foundation (ASF) under one or more
    00004  * contributor license agreements.  See the NOTICE file distributed with
    00005  * this work for additional information regarding copyright ownership.
    00006  * The ASF licenses this file to You under the Apache License, Version 2.0
    00007  * (the "License"); you may not use this file except in compliance with
    00008  * the License.  You may obtain a copy of the License at
    00009  *
    00010  *      http://www.apache.org/licenses/LICENSE-2.0
    00011  *
    00012  * Unless required by applicable law or agreed to in writing, software
    00013  * distributed under the License is distributed on an "AS IS" BASIS,
    00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015  * See the License for the specific language governing permissions and
    00016  * limitations under the License.
    00017  */
    00018
    00019 #ifndef NEETHI_REGISTRY_H
    00020 #define NEETHI_REGISTRY_H
    00021
    00027 #include <axis2_defines.h>
    00028 #include <axutil_env.h>
    00029 #include <neethi_includes.h>
    00030 #include <neethi_policy.h>
    00031
    00032 #ifdef __cplusplus
    00033 extern "C"
    00034 {
    00035 #endif
    00036
    00037     typedef struct neethi_registry_t neethi_registry_t;
    00038
    00039     AXIS2_EXTERN neethi_registry_t *AXIS2_CALL
    00040     neethi_registry_create(
    00041         const axutil_env_t * env);
    00042
    00043     AXIS2_EXTERN neethi_registry_t *AXIS2_CALL
    00044     neethi_registry_create_with_parent(
    00045         const axutil_env_t * env,
    00046         neethi_registry_t * parent);
    00047
    00048     AXIS2_EXTERN void AXIS2_CALL
    00049     neethi_registry_free(
    00050         neethi_registry_t * neethi_registry,
    00051         const axutil_env_t * env);
    00052
    00053     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00054     neethi_registry_register(
    00055         neethi_registry_t * neethi_registry,
    00056         const axutil_env_t * env,
    00057         axis2_char_t * key,
    00058         neethi_policy_t * value);
    00059
    00060     AXIS2_EXTERN neethi_policy_t *AXIS2_CALL
    00061     neethi_registry_lookup(
    00062         neethi_registry_t * neethi_registry,
    00063         const axutil_env_t * env,
    00064         axis2_char_t * key);
    00065
    00067 #ifdef __cplusplus
    00068 }
    00069 #endif
    00070
    00071 #endif                          /* NEETHI_REGISTRY_H */