summaryrefslogtreecommitdiff
path: root/include/violite.h
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-21 21:28:51 +0200
committermonty@mashka.mysql.fi <>2003-01-21 21:28:51 +0200
commit7436e9ec97feed09bbda0c3a8b58c6f1f30ca243 (patch)
tree746b47095ebdcc9cd407758fe0edc8f9e2495e33 /include/violite.h
parent49580a5168470a03cf4381b48669a6c821163519 (diff)
parent4fd9bad4cc03050c1c91b22f5660469ea8b97cca (diff)
downloadmariadb-git-7436e9ec97feed09bbda0c3a8b58c6f1f30ca243.tar.gz
Merge
Diffstat (limited to 'include/violite.h')
-rw-r--r--include/violite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/violite.h b/include/violite.h
index 18fa90fbd40..c9e17cb05c1 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -216,6 +216,7 @@ enum SSL_type
SSL_TYPE_SPECIFIED
};
+
#ifndef EMBEDDED_LIBRARY
/* This structure is for every connection on both sides */
struct st_vio
@@ -233,7 +234,7 @@ struct st_vio
void (*viodelete)(Vio*);
int (*vioerrno)(Vio*);
int (*read)(Vio*, gptr, int);
- int (*write)(Vio*, gptr, int);
+ int (*write)(Vio*, const gptr, int);
int (*vioblocking)(Vio*, my_bool, my_bool *);
my_bool (*is_blocking)(Vio*);
int (*viokeepalive)(Vio*, my_bool);