globus_gass_transfer 9.4
globus_i_gass_transfer_keyvalue.h
1/*
2 * Copyright 1999-2006 University of Chicago
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef GLOBUS_DONT_DOCUMENT_INTERNAL
18
24#ifndef GLOBUS_GASS_TRANSFER_KEYVALUE_H
25#define GLOBUS_GASS_TRANSFER_KEYVALUE_H
26
27#include "globus_list.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33typedef struct
34{
35 char * key;
36 char * value;
37} globus_gass_transfer_keyvalue_t;
38
39char *
40globus_i_gass_transfer_keyvalue_lookup(
41 globus_list_t ** list,
42 char * key);
43
44void
45globus_i_gass_transfer_keyvalue_insert(
46 globus_list_t ** list,
47 char * key,
48 char * value);
49
50void
51globus_i_gass_transfer_keyvalue_replace(
52 globus_list_t ** list,
53 char * key,
54 char * value);
55
56void
57globus_i_gass_transfer_keyvalue_destroy(
58 globus_list_t ** list);
59
60#ifdef __cplusplus
61}
62#endif
63
64#endif /* GLOBUS_GASS_INCLUDE_GLOBUS_GASS_TRANSFER_KEYVALUE_H */
65
66#endif /* GLOBUS_DONT_DOCUMENT_INTERNAL */