Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_gatekeeper_utils.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 /******************************************************************************
18 
19 globus_gatekeeper_utils.h
20 
21 Description:
22  Header file for some common gatekeeper routines
23 
24 CVS Information:
25 
26  $Source$
27  $Date$
28  $Revision$
29  $Author$
30 ******************************************************************************/
31 
32 #ifndef GLOBUS_GATEKEEPER_UTILS_H
33 #define GLOBUS_GATEKEEPER_UTILS_H
34 
35 int
36 globus_gatekeeper_util_globusxmap(
37  char * file,
38  char * index,
39  char ** params);
40 
41 int
42 globus_gatekeeper_util_tokenize(
43  char * command,
44  char ** args,
45  int * n,
46  char * sep);
47 
48 int
49 globus_gatekeeper_util_envsub(
50  char ** arg);
51 
52 int
53 globus_gatekeeper_util_exec(
54  char * args[],
55  struct passwd * pw,
56  char * userid,
57  char ** errmsg);
58 
59 int
60 globus_gatekeeper_util_trans_to_user(
61  struct passwd * pw,
62  char * userid,
63  char ** errmsg);
64 
65 #endif /* GLOBUS_GATEKEEPER_UTILS_H */