gcc complained about "write" being shadowed even though the "write"
[openssl.git] / ssl / ssl.h
index b4a3543d14666e2c0173ebeb530aa80162d49ce7..f364240fbabccd9fa58ef5d4707e10dda9fec1e2 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -586,7 +586,7 @@ struct ssl_ctx_st
        int read_ahead;
 
        /* callback that allows applications to peek at protocol messages */
-       void (*msg_callback)(int write, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
+       void (*msg_callback)(int write_p, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
        void *msg_callback_arg;
 
        int verify_mode;
@@ -732,7 +732,7 @@ struct ssl_st
                                 * (for non-blocking reads) */
 
        /* callback that allows applications to peek at protocol messages */
-       void (*msg_callback)(int write, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
+       void (*msg_callback)(int write_p, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
        void *msg_callback_arg;
 
        int hit;                /* reusing a previous session */