grst_admin.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2002-3, Andrew McNab and Shiv Kaushal,
3
University of Manchester. All rights reserved.
4
5
Redistribution and use in source and binary forms, with or
6
without modification, are permitted provided that the following
7
conditions are met:
8
9
o Redistributions of source code must retain the above
10
copyright notice, this list of conditions and the following
11
disclaimer.
12
o Redistributions in binary form must reproduce the above
13
copyright notice, this list of conditions and the following
14
disclaimer in the documentation and/or other materials
15
provided with the distribution.
16
17
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
18
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
19
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
22
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
26
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
POSSIBILITY OF SUCH DAMAGE.
30
*/
31
32
/*------------------------------------------------------------------*
33
* This program is part of GridSite: http://www.gridsite.org/ *
34
*------------------------------------------------------------------*/
35
36
void
GRSThttpError
(
char
*);
37
void
adminfooter
(
GRSThttpBody
*,
char
*,
char
*,
char
*,
char
*);
38
int
GRSTstrCmpShort
(
char
*,
char
*);
39
char
*
makevfilename
(
char
*,
size_t
,
char
*);
40
41
/*CGI GACL - Edit interface functions*/
42
void
show_acl
(
int
admin,
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
43
void
new_entry_form
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
44
void
new_entry
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
45
void
del_entry
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
46
void
edit_entry_form
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
47
void
edit_entry
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
48
void
add_cred_form
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
49
void
add_cred
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
50
void
del_cred
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
51
void
del_entry_sure
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
52
void
del_cred_sure
(
GRSTgaclUser
*user,
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file);
53
54
/*Functions producing messages*/
55
//void error(char *dn, GRSTgaclPerm perm, char *help_uri, char *dir_path, char *file, char *dir_uri, char *admin_file);
56
void
admin_continue
(
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
char
*dir_path,
char
*file,
char
*dir_uri,
char
*admin_file,
GRSThttpBody
*bp);
57
58
//functions for cgi program
59
int
verifypasscode
();
60
void
outputformactionerror
(
char
*dn,
GRSTgaclPerm
perm,
char
*help_uri,
61
char
*dir_path,
char
*dir_uri,
char
*admin_file);
62
Generated on Sat Jun 1 2013 17:51:54 by
1.8.1.2