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

- Search for |

# axutil_base64_binary.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 AXUTIL_BASE64_BINARY_H
    00020 #define AXUTIL_BASE64_BINARY_H
    00021
    00022 #include <axutil_base64.h>
    00023 #include <axutil_utils_defines.h>
    00024 #include <axutil_env.h>
    00025
    00037 #ifdef __cplusplus
    00038 extern "C"
    00039 {
    00040 #endif
    00041
    00043     typedef struct axutil_base64_binary axutil_base64_binary_t;
    00044
    00050     AXIS2_EXTERN axutil_base64_binary_t *AXIS2_CALL
    00051
    00052     axutil_base64_binary_create(
    00053         const axutil_env_t * env);
    00054
    00061     AXIS2_EXTERN axutil_base64_binary_t *AXIS2_CALL
    00062
    00063     axutil_base64_binary_create_with_plain_binary(
    00064         const axutil_env_t * env,
    00065         const unsigned char *plain_binary,
    00066         int plain_binary_len);
    00067
    00074     AXIS2_EXTERN axutil_base64_binary_t *AXIS2_CALL
    00075
    00076     axutil_base64_binary_create_with_encoded_binary(
    00077         const axutil_env_t * env,
    00078         const char *encoded_binary);
    00079
    00086     AXIS2_EXTERN void AXIS2_CALL
    00087     axutil_base64_binary_free(
    00088         axutil_base64_binary_t * base64_binary,
    00089         const axutil_env_t * env);
    00090
    00099     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00100
    00101     axutil_base64_binary_set_plain_binary(
    00102         axutil_base64_binary_t * base64_binary,
    00103         const axutil_env_t * env,
    00104         const unsigned char *plain_binary,
    00105         int plain_binary_len);
    00106
    00115     AXIS2_EXTERN unsigned char *AXIS2_CALL
    00116
    00117     axutil_base64_binary_get_plain_binary(
    00118         axutil_base64_binary_t * base64_binary,
    00119         const axutil_env_t * env,
    00120         int *plain_binary_len);
    00121
    00129     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00130
    00131     axutil_base64_binary_set_encoded_binary(
    00132         axutil_base64_binary_t * base64_binary,
    00133         const axutil_env_t * env,
    00134         const char *encoded_binary);
    00135
    00142     AXIS2_EXTERN char *AXIS2_CALL
    00143     axutil_base64_binary_get_encoded_binary(
    00144         axutil_base64_binary_t * base64_binary,
    00145         const axutil_env_t * env);
    00146
    00153     AXIS2_EXTERN int AXIS2_CALL
    00154     axutil_base64_binary_get_encoded_binary_len(
    00155         axutil_base64_binary_t * base64_binary,
    00156         const axutil_env_t * env);
    00157
    00164     AXIS2_EXTERN int AXIS2_CALL
    00165     axutil_base64_binary_get_decoded_binary_len(
    00166         axutil_base64_binary_t * base64_binary,
    00167         const axutil_env_t * env);
    00168
    00169 #ifdef __cplusplus
    00170 }
    00171 #endif
    00172
    00173 #endif                          /* AXIS2_BASE64_BINARY_H */