/[pdpsoft]/tags/llrun_R_0_1_0_1/vomsfix.c
ViewVC logotype

Contents of /tags/llrun_R_0_1_0_1/vomsfix.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2096 - (show annotations) (download) (as text)
Thu Nov 18 15:25:05 2010 UTC (11 years, 6 months ago) by msalle
File MIME type: text/x-chdr
File size: 1228 byte(s)
First official version of llrun (formerly lcaslcmaps_get_account_cli.c).
- able to handle three different LCMAPS interfaces
- compatible with glexec 0.8 (and before)

1 /*
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 *
14 * Authors: Mischa Sall\'e, Oscar Koeroo
15 * NIKHEF Amsterdam, the Netherlands
16 * <grid-mw-security@nikhef.nl>
17 *
18 * Dirty hack library to fix the missing functions from VOMS API: VOMS API
19 * should have defined these extern "C". LCMAPS needs these functions, and if
20 * not using the ones from LCAS, you can use these (trivial ones) instead.
21 * Compile with e.g.
22 * gcc -fPIC -shared -Wl,-soname,./libvomsfix.so -o libvomsfix.so vomsfix.c
23 * Then link using against it using
24 * gcc -L. -lvomsfix ...
25 */
26
27 int getMajorVersionNumber(void) {
28 return 0;
29 }
30 int getMinorVersionNumber(void) {
31 return 0;
32 }
33 int getPatchVersionNumber(void) {
34 return 0;
35 }
36

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28