File: lcmaps.h

package info (click to toggle)
lcmaps 1.6.6-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,016 kB
  • ctags: 1,428
  • sloc: sh: 11,191; ansic: 9,519; makefile: 530; lex: 184; perl: 92; yacc: 60
file content (79 lines) | stat: -rw-r--r-- 2,523 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
 * Copyright (c) Members of the EGEE Collaboration. 2004-2010. 
 * See http://www.eu-egee.org/partners/ for details on the copyright
 * holders.  
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 *
 */


/*!
    \file   lcmaps.h
    \brief  Basic interface of the LCMAPS library.
    \author Martijn Steenbakkers for the EU DataGrid.
    \author Oscar Koeroo for the EGEE project.

    In order to use this API, please set in your application the following
    defines:
    \def    LCMAPS_GSI_MODE
    \brief If set, the GSI dependent interface can be used
    \b LCMAPS_USE_DLOPEN
    \brief If set, the interface takes care of loading the LCMAPS libraries with
    dlopen (so it has no link dependency to any particular version).
    \ingroup LcmapsInterface
*/
/**
    \defgroup LcmapsInterface The LCMAPS API for LCMAPS clients
    \brief The API is available by including one of the specific
    interface header files:

    - \ref lcmaps_return_account_from_pem.h
    - \ref lcmaps_verify_account_from_pem.h

    See \ref lcmaps_client.c "the examples" for an example of how to use the interface.

    FIXME: explain the actual interface.

    \example lcmaps_client.c
    This is an example program that uses the interface.

    It uses only one of the four different interfaces, but the others work along
    similar lines.
    
    For details on the various macros used in this example, see 
    \ref lcmaps_if.h "the interface definition".  */


#ifndef LCMAPS_H
#define LCMAPS_H

/******************************************************************************
                             Include header files
******************************************************************************/

#ifdef LCMAPS_GSI_MODE
#    include "lcmaps_openssl.h"
#    include "lcmaps_globus.h"
#else
#    include "lcmaps_basic.h"
#endif


/**
   \fn lcmaps_disable_voms_attributes_verification
   This is the lcmaps_disable_voms_attributes_verification function documentation

 */

#endif /* LCMAPS_H */