freebsd-ports/databases/mysql41-server/files/patch-sql::mylibwrap.h
Alex Dupre 5a1e6a8f8f Update to 4.1.15 release:
- Fix a buffer overflow in prepared statements API
- Fix bug in remote connections caused by libwrap [1]

Patch by:       peadar [1]
Approved by:    portmgr (marcus)
2004-09-22 22:22:32 +00:00

12 lines
339 B
C

--- sql/mylibwrap.h.orig Thu Jan 1 01:00:00 1970
+++ sql/mylibwrap.h Sun Sep 19 15:04:21 2004
@@ -0,0 +1,9 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+extern void my_fromhost(struct request_info *);
+extern int my_hosts_access(struct request_info *);
+extern char *my_eval_client(struct request_info *);
+#ifdef __cplusplus
+}
+#endif