Grid Community Toolkit  6.2.1567772254 (tag: v6.2.20190906)
globus_net_manager_attr.h
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2014 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_NET_MANAGER_ATTR_H
18 #define GLOBUS_NET_MANAGER_ATTR_H 1
19 
20 #include "globus_common.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
47 {
49  char * scope;
51  char * name;
53  char * value;
54 }
56 
62 #define GLOBUS_NET_MANAGER_NULL_ATTR { NULL, NULL, NULL }
63 
65 
69  const char *scope,
70  const char *name,
71  const char *value);
72 
73 void
76 
77 
81  const char *scope,
82  const char *attr_string);
83 
86  globus_net_manager_attr_t **dest_array,
87  const globus_net_manager_attr_t *src_array);
88 
89 void
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif /* #define GLOBUS_NET_MANAGER_ATTR_H */
globus_result_t globus_net_manager_attr_init(globus_net_manager_attr_t *attr, const char *scope, const char *name, const char *value)
Initialize the contents of an attribute.
Definition: init.c:46
char * value
Definition: globus_net_manager_attr.h:53
const globus_net_manager_attr_t globus_net_manager_null_attr
End of array value.
Definition: array_delete.c:35
globus_result_t globus_net_manager_attr_array_from_string(globus_net_manager_attr_t **attr, const char *scope, const char *attr_string)
Parse an array of Network Manager attributes from a string.
Definition: array_from_string.c:55
Net Manager Attributes.
Definition: globus_net_manager_attr.h:46
Headers common to all of Globus.
uint32_t globus_result_t
Definition: globus_types.h:99
char * name
Definition: globus_net_manager_attr.h:51
struct globus_net_manager_attr_s globus_net_manager_attr_t
Net Manager Attributes.
globus_result_t globus_net_manager_attr_array_copy(globus_net_manager_attr_t **dest_array, const globus_net_manager_attr_t *src_array)
Copy an array of Network Manager attributes.
Definition: array_copy.c:48
char * scope
Definition: globus_net_manager_attr.h:49
void globus_net_manager_attr_array_delete(globus_net_manager_attr_t *attrs)
Destroy an array of Network Manager attributes.
Definition: array_delete.c:49
void globus_net_manager_attr_destroy(globus_net_manager_attr_t *attr)
Destroy the contents of an attribute.
Definition: destroy.c:36