diff --git a/.gitattributes b/.gitattributes index 57003ae..8c0d752 100644 --- a/.gitattributes +++ b/.gitattributes @@ -24,6 +24,7 @@ libopm/inet.c -text libopm/inet.h -text libopm/libopm.c -text libopm/libopm.h -text +libopm/libopm.vcproj -text libopm/list.c -text libopm/list.h -text libopm/malloc.c -text @@ -39,5 +40,7 @@ libopm/test.c -text /opsb.Settings -text /opsb.c -text /opsb.h -text +/opsb.vcproj -text /opsb_help.c -text /proxy.c -text +/win32modconfig.h -text diff --git a/libopm/libopm.vcproj b/libopm/libopm.vcproj new file mode 100755 index 0000000..b706880 --- /dev/null +++ b/libopm/libopm.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/opsb.vcproj b/opsb.vcproj new file mode 100755 index 0000000..ffded57 --- /dev/null +++ b/opsb.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/win32modconfig.h b/win32modconfig.h new file mode 100755 index 0000000..1963505 --- /dev/null +++ b/win32modconfig.h @@ -0,0 +1,127 @@ +#ifndef WIN32MODCONFIG_H +#define WIN32MODCONFIG_H + +/* modconfig.h. Generated by configure. */ +/* define this to enable debug code for this module */ +/* #undef DEBUG */ + +/* Version number of package */ +#define MODULE_VERSION "2.1" + +/* Major Version */ +#define MODULE_MAJOR "2" + +/* Minor Version */ +#define MODULE_MINOR "1" + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DLFCN_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `gethostbyname' function. */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the `gethostbyname2' function. */ +/* #undef HAVE_GETHOSTBYNAME2 */ + +/* Define to 1 if you have the `inet_aton' function. */ +/*#define HAVE_INET_ATON 1*/ + +/* Define to 1 if you have the `inet_pton' function. */ +/* #undef HAVE_INET_PTON */ + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `select' function. */ +/* #undef HAVE_SELECT */ + +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_STRINGS_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_SYS_POLL_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_SYS_TIME_H 1*/ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/*#define HAVE_UNISTD_H 1*/ + +/* Define to 1 if you have the `vsnprintf' function. */ +#define HAVE_VSNPRINTF 1 + +/* Name of package */ +/* #undef PACKAGE */ + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" + +/* "enable replacement (v)snprintf if system (v)snprintf is broken" */ +/* #undef PREFER_PORTABLE_SNPRINTF */ + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +/*#define TIME_WITH_SYS_TIME 1*/ + +/* Version number of package */ +/* #undef VERSION */ + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `unsigned' if does not define. */ +/* #undef size_t */ + +#ifndef POLLIN +#define snprintf _snprintf +struct pollfd { int fd; short events; short revents; }; +#define POLLIN 1 +#define POLLPRI 2 +#define POLLOUT 4 +#define POLLERR 8 +#define POLLHUP 16 +#define POLLNVAL 32 +#endif +#endif \ No newline at end of file