summaryrefslogtreecommitdiff
path: root/sql/sql_map.h
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-27 01:20:56 +0200
committerunknown <monty@donna.mysql.com>2001-01-27 01:20:56 +0200
commit52a4c5a10063f2e7b06a32add3b87ba0b0ae2b45 (patch)
treebf79d814679a767435990f41e226728ee5927766 /sql/sql_map.h
parent002b51000fcec9ff8c45afe12ddd3728f6035ff0 (diff)
downloadmariadb-git-52a4c5a10063f2e7b06a32add3b87ba0b0ae2b45.tar.gz
Portability fixes for OPENBSD, OS2 and Windows
Docs/manual.texi: Changed TCX -> MySQL AB configure.in: New version include/my_sys.h: Fixes for OS2 ltconfig: Fixes for OS2 ltmain.sh: Fixes for OS2 mit-pthreads/net/net_internal.h: Fixes for OPENBSD mit-pthreads/net/proto_internal.h: Fixes for OPENBSD mit-pthreads/net/res_internal.h: Fixes for OPENBSD mit-pthreads/net/serv_internal.h: Fixes for OPENBSD myisammrg/myrg_open.c: MERGE didn't work on Windows mysys/my_getwd.c: Fixes for OS2 sql/field.cc: cleanup sql/field.h: Fix for new SCO compiler sql/ha_berkeley.cc: Cleanup sql/ha_berkeley.h: Portability fix sql/item_sum.h: Fix for new SCO compiler sql/log.cc: Fixes for OS2 sql/log_event.h: Fixes for OS2 sql/mysqld.cc: Fixes for OS2 sql/net_serv.cc: Fixes for OS2 sql/sql_analyse.h: Fix for new SCO compiler sql/sql_class.h: Fix for new SCO compiler sql/sql_map.h: Fix for new SCO compiler sql/sql_repl.cc: cleanup sql/sql_string.h: Fix for new SCO compiler sql/sql_table.cc: cleanup strings/longlong2str-x86.s: Fixes for openbsd
Diffstat (limited to 'sql/sql_map.h')
-rw-r--r--sql/sql_map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_map.h b/sql/sql_map.h
index e9093672fef..34f2f755b43 100644
--- a/sql/sql_map.h
+++ b/sql/sql_map.h
@@ -21,6 +21,10 @@
#pragma interface /* gcc class implementation */
#endif
+class mapped_files;
+mapped_files *map_file(const my_string name,byte *magic,uint magic_length);
+void unmap_file(mapped_files *map);
+
class mapped_files :public ilink {
byte *map;
ha_rows size;