summaryrefslogtreecommitdiff
path: root/misc/netware
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2001-08-28 00:30:45 +0000
committerBradley Nicholes <bnicholes@apache.org>2001-08-28 00:30:45 +0000
commit3b8fd227962baed965d00248d8cfe66cf5eb3170 (patch)
tree04f7a9c33cc021cdfbee06996848c224c5825e8b /misc/netware
parent79052c54c1a85a91066511143b530ebd2ba76f1e (diff)
downloadapr-3b8fd227962baed965d00248d8cfe66cf5eb3170.tar.gz
Added some NetWare specific misc files
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62234 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/netware')
-rw-r--r--misc/netware/aprlib.def3
-rw-r--r--misc/netware/aprlib.imp175
-rw-r--r--misc/netware/pre_nw.h43
3 files changed, 221 insertions, 0 deletions
diff --git a/misc/netware/aprlib.def b/misc/netware/aprlib.def
new file mode 100644
index 000000000..5661dc6b7
--- /dev/null
+++ b/misc/netware/aprlib.def
@@ -0,0 +1,3 @@
+MODULE LIBC.NLM
+MODULE WS2_32.NLM
+EXPORT @aprlib.imp \ No newline at end of file
diff --git a/misc/netware/aprlib.imp b/misc/netware/aprlib.imp
new file mode 100644
index 000000000..6a51b7109
--- /dev/null
+++ b/misc/netware/aprlib.imp
@@ -0,0 +1,175 @@
+ apr_stat,
+ apr_shutdown,
+ apr_bind,
+ apr_listen,
+ apr_accept,
+ apr_connect,
+ apr_gethostname,
+ apr_send,
+ apr_recv,
+ apr_setsocketopt,
+ apr_sendv,
+ apr_poll,
+ apr_thread_exit,
+ apr_thread_join,
+ apr_thread_detach,
+ apr_initialize,
+ apr_getopt_init,
+ apr_getopt,
+ apr_ansi_time_to_apr_time,
+ apr_time_now,
+ apr_implode_time,
+ apr_explode_gmt,
+ apr_explode_localtime,
+ apr_ctime,
+ apr_rfc822_date,
+ apr_strftime,
+ apr_strerror,
+ apr_cpystrn,
+ apr_fnmatch,
+ apr_is_fnmatch,
+ apr_palloc,
+ apr_pcalloc,
+ apr_pstrdup,
+ apr_pstrndup,
+ apr_pstrcat,
+ apr_pvsprintf,
+ apr_psprintf,
+ apr_array_cat,
+ apr_array_append,
+ apr_array_pstrcat,
+ apr_array_make,
+ apr_array_push,
+ apr_table_get,
+ apr_table_set,
+ apr_table_setn,
+ apr_table_unset,
+ apr_table_merge,
+ apr_table_mergen,
+ apr_table_add,
+ apr_table_addn,
+ apr_table_do,
+ apr_vformatter,
+ apr_snprintf,
+ apr_vsnprintf,
+ apr_tokenize_to_argv,
+ apr_filename_of_pathname,
+ apr_terminate,
+ apr_day_snames,
+ apr_month_snames,
+ apr_dso_load,
+ apr_dso_unload,
+ apr_dso_sym,
+ apr_pool_destroy,
+ apr_pool_create,
+ apr_pool_clear,
+ apr_pool_cleanup_null,
+ apr_pool_cleanup_register,
+ apr_pool_note_subprocess,
+ apr_sort_hooks,
+ apr_hook_deregister_all,
+ apr_hook_sort_register,
+ apr_socket_addr_get,
+ apr_getnameinfo,
+ apr_sockaddr_info_get,
+ apr_sockaddr_port_get,
+ apr_file_seek,
+ apr_file_read,
+ apr_file_open,
+ apr_file_close,
+ apr_file_open_stderr,
+ apr_file_flush,
+ apr_file_dup,
+ apr_file_puts,
+ apr_file_printf,
+ apr_brigade_create,
+ apr_brigade_split,
+ apr_brigade_destroy,
+ apr_bucket_file_create,
+ apr_bucket_eos_create,
+ apr_bucket_socket_create,
+ apr_bucket_type_eos,
+ apr_bucket_type_flush,
+ apr_bucket_type_file,
+ apr_procattr_create,
+ apr_procattr_io_set,
+ apr_proc_create,
+ apr_global_hook_pool,
+ apr_current_hooking_module,
+ apr_debug_module_hooks,
+ apr_show_hook,
+ apr_lstat,
+ apr_dir_open,
+ apr_dir_read,
+ apr_dir_close,
+ apr_sockaddr_ip_get,
+ apr_parse_addr_port,
+ apr_os_sock_get,
+ apr_socket_close,
+ apr_lock_acquire,
+ apr_lock_release,
+ apr_poll_setup,
+ apr_poll_socket_add,
+ apr_lock_acquire,
+ apr_poll_revents_get,
+ apr_lock_release,
+ apr_lock_child_init,
+ apr_setup_signal_thread,
+ apr_lock_create,
+ apr_threadattr_create,
+ apr_threadattr_detach_set,
+ apr_thread_create,
+ apr_thread_yield,
+ apr_file_write,
+ apr_file_pipe_create,
+ apr_file_pipe_timeout_set,
+ apr_file_getc,
+ apr_file_gets,
+ apr_file_info_get,
+ apr_proc_detach,
+ apr_pool_cleanup_kill,
+ apr_base64_decode_len,
+ apr_base64_decode,
+ apr_brigade_puts,
+ apr_brigade_length,
+ apr_brigade_partition,
+ apr_brigade_write,
+ apr_table_overlay,
+ apr_table_clear,
+ apr_table_make,
+ apr_table_overlap,
+ apr_table_copy,
+ apr_bucket_pool_create,
+ apr_bucket_flush_create,
+ apr_bucket_heap_create,
+ apr_bucket_transient_create,
+ apr_md5_final,
+ apr_md5_init,
+ apr_md5_update,
+ apr_sleep,
+ apr_proc_wait,
+ apr_proc_wait_all_procs,
+ apr_signal_get_description,
+ apr_socket_create,
+ apr_bucket_immortal_create,
+ apr_ipsubnet_create,
+ apr_ipsubnet_test,
+ apr_password_validate,
+ apr_file_eof,
+ apr_strnatcmp,
+ apr_procattr_dir_set,
+ apr_procattr_cmdtype_set,
+ apr_bucket_pipe_create,
+ apr_retrieve_optional_fn,
+ apr_get_username,
+ apr_hash_get,
+ apr_hash_make,
+ apr_hash_set,
+ apr_register_optional_fn,
+ apr_file_ungetc,
+ apr_dso_error,
+ apr_get_home_directory,
+ apr_bucket_setaside_notimpl,
+ apr_bucket_split_notimpl,
+ apr_bucket_copy_notimpl,
+
diff --git a/misc/netware/pre_nw.h b/misc/netware/pre_nw.h
new file mode 100644
index 000000000..6a3d99c45
--- /dev/null
+++ b/misc/netware/pre_nw.h
@@ -0,0 +1,43 @@
+#ifndef __pre_nw__
+#define __pre_nw__
+
+#pragma precompile_target "precomp.mch"
+#define NETWARE
+
+
+#define N_PLAT_NLM
+
+/* hint for MSL C++ that we're on NetWare platform */
+#define __NETWARE__
+
+/* the FAR keyword has no meaning in a 32-bit environment
+ but is used in the SDK headers so we take it out */
+#define FAR
+#define far
+
+/* no-op for Codewarrior C compiler; a functions are cdecl
+ by default */
+#define cdecl
+
+/* if we have wchar_t enabled in C++, predefine this type to avoid
+ a conflict in Novell's header files */
+#if (__option(cplusplus) && __option(wchar_type))
+#define _WCHAR_T
+#endif
+
+/* C9X defintion used by MSL C++ library */
+#define DECIMAL_DIG 17
+
+/* define long long typedefs for Watcom compatiblity */
+typedef long long int64_t;
+typedef unsigned long long uint64_t;
+
+/* some code may want to use the MS convention for long long */
+#ifndef __int64
+#define __int64 long long
+#endif
+
+#endif
+
+
+