1*8a25e0a8SAndrew Rist /**************************************************************
2*8a25e0a8SAndrew Rist  *
3*8a25e0a8SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*8a25e0a8SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*8a25e0a8SAndrew Rist  * distributed with this work for additional information
6*8a25e0a8SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*8a25e0a8SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*8a25e0a8SAndrew Rist  * "License"); you may not use this file except in compliance
9*8a25e0a8SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*8a25e0a8SAndrew Rist  *
11*8a25e0a8SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*8a25e0a8SAndrew Rist  *
13*8a25e0a8SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*8a25e0a8SAndrew Rist  * software distributed under the License is distributed on an
15*8a25e0a8SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8a25e0a8SAndrew Rist  * KIND, either express or implied.  See the License for the
17*8a25e0a8SAndrew Rist  * specific language governing permissions and limitations
18*8a25e0a8SAndrew Rist  * under the License.
19*8a25e0a8SAndrew Rist  *
20*8a25e0a8SAndrew Rist  *************************************************************/
21*8a25e0a8SAndrew Rist 
22cdf0e10cSrcweir #ifndef __SAMPLELIB_HXX_
23cdf0e10cSrcweir #define __SAMPLELIB_HXX_
24cdf0e10cSrcweir 
25cdf0e10cSrcweir #include <sal/types.h>
26cdf0e10cSrcweir 
27cdf0e10cSrcweir struct SampleLib_Api
28cdf0e10cSrcweir {
29cdf0e10cSrcweir 	sal_Int32 (SAL_CALL *funcA)( sal_Int32 );
30cdf0e10cSrcweir 	double (SAL_CALL *funcB)( double );
31cdf0e10cSrcweir };
32cdf0e10cSrcweir 
33cdf0e10cSrcweir 
34cdf0e10cSrcweir typedef SampleLib_Api* (SAL_CALL *InitSampleLib_Api)(void);
35cdf0e10cSrcweir 
36cdf0e10cSrcweir #define SAMPLELIB_INIT_FUNCTION_NAME "initSampleLibApi"
37cdf0e10cSrcweir 
38cdf0e10cSrcweir 
39cdf0e10cSrcweir sal_Int32 SAL_CALL funcA( sal_Int32 a);
40cdf0e10cSrcweir double SAL_CALL funcB( double a);
41cdf0e10cSrcweir 
42cdf0e10cSrcweir 
43cdf0e10cSrcweir #endif
44