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 |
|