Added and implemented Silc DIR API.
[crypto.git] / includes / silc.h.in
index 14f63c1cdc2f9fe7744e84cc444b876dd87d0617..c64d33b8a9e483b767703723d764e0e767666e22 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2007 Pekka Riikonen
+  Copyright (C) 1997 - 2008 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -130,6 +130,7 @@ extern "C" {
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <time.h>
+#include <dirent.h>
 
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
@@ -195,14 +196,6 @@ extern "C" {
 #include <limits.h>
 #endif
 
-#ifndef HAVE_REGEX_H
-#if defined(HAVE_SILCDEFS_H)
-#include "regexpr.h"
-#endif /* HAVE_SILCDEFS_H */
-#else
-#include <regex.h>
-#endif
-
 #ifdef SILC_HAVE_PTHREAD
 #include <pthread.h>
 #endif
@@ -263,6 +256,8 @@ extern "C" {
 #include "silcthread.h"
 #include "silcschedule.h"
 #include "silclog.h"
+#include "silcdir.h"
+#include "silcfileutil.h"
 #include "silcbuffer.h"
 #include "silcbuffmt.h"
 #include "silcasync.h"
@@ -285,12 +280,12 @@ extern "C" {
 #endif /* SILC_DIST_SSH */
 
 /* More SILC util library includes */
+#include "silcregex.h"
 #include "silcenv.h"
 #include "silcdll.h"
 #include "silchashtable.h"
 #include "silcstream.h"
 #include "silcnet.h"
-#include "silcfileutil.h"
 #include "silcbase64.h"
 #include "silcstrutil.h"
 #include "silcutf8.h"