Initial check-in.
[shibboleth/resolver.git] / shibresolver / internal.h
diff --git a/shibresolver/internal.h b/shibresolver/internal.h
new file mode 100644 (file)
index 0000000..c1eda96
--- /dev/null
@@ -0,0 +1,48 @@
+/*
+ *  Copyright 2010 Janet(UK)
+ * 
+ * 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.
+ */
+
+/*
+ *  internal.h - internally visible classes
+ */
+
+#ifndef __shibresolver_internal_h__
+#define __shibresolver_internal_h__
+
+#ifdef WIN32
+# define _CRT_SECURE_NO_DEPRECATE 1
+# define _CRT_NONSTDC_NO_DEPRECATE 1
+#endif
+
+// Export public APIs
+#define SHIBRESOLVER_EXPORTS
+
+// eventually we might be able to support autoconf via cygwin...
+#if defined (_MSC_VER) || defined(__BORLANDC__)
+# include "config_win32.h"
+#else
+# include "config.h"
+#endif
+
+#include "base.h"
+#include "resolver.h"
+
+#include <memory>
+#include <xmltooling/logging.h>
+
+using namespace xmltooling::logging;
+using namespace xercesc;
+
+#endif /* __shibresolver_internal_h__ */