Use shibboleth-sp as package name for compatibility.
[shibboleth/cpp-sp.git] / shibsp / internal.h
1 /**
2  * Licensed to the University Corporation for Advanced Internet
3  * Development, Inc. (UCAID) under one or more contributor license
4  * agreements. See the NOTICE file distributed with this work for
5  * additional information regarding copyright ownership.
6  *
7  * UCAID licenses this file to you under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except
9  * in compliance with the License. You may obtain a copy of the
10  * License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing,
15  * software distributed under the License is distributed on an
16  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
17  * either express or implied. See the License for the specific
18  * language governing permissions and limitations under the License.
19  */
20
21 /*
22  *  internal.h - internally visible classes
23  */
24
25 #ifndef __shibsp_internal_h__
26 #define __shibsp_internal_h__
27
28 #ifndef FD_SETSIZE
29 # define FD_SETSIZE 1024
30 #endif
31
32 #ifdef WIN32
33 # define _CRT_SECURE_NO_DEPRECATE 1
34 # define _CRT_NONSTDC_NO_DEPRECATE 1
35 #endif
36
37 // Export public APIs
38 #define SHIBSP_EXPORTS
39
40 // eventually we might be able to support autoconf via cygwin...
41 #if defined (_MSC_VER) || defined(__BORLANDC__)
42 # include "config_win32.h"
43 #else
44 # include "config.h"
45 #endif
46
47 #include "base.h"
48 #include "SPConfig.h"
49
50 #include <memory>
51 #include <xmltooling/logging.h>
52 #include <xmltooling/io/HTTPRequest.h>
53 #include <shibsp/Application.h>
54
55 using namespace xmltooling::logging;
56 using namespace xercesc;
57
58 #endif /* __shibsp_internal_h__ */