]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - network.h
Introduce framework for authenticating with the local X server.
[PuTTY.git] / network.h
index e9ad518de2fadb26faf5d54eea72a7e0ae013546..673831fb2b59425254184af8d1bf7e695a7797a1 100644 (file)
--- a/network.h
+++ b/network.h
@@ -24,8 +24,8 @@ struct socket_function_table {
     /* if p is NULL, it doesn't change the plug */
     /* but it does return the one it's using */
     void (*close) (Socket s);
-    int (*write) (Socket s, char *data, int len);
-    int (*write_oob) (Socket s, char *data, int len);
+    int (*write) (Socket s, const char *data, int len);
+    int (*write_oob) (Socket s, const char *data, int len);
     void (*flush) (Socket s);
     void (*set_private_ptr) (Socket s, void *ptr);
     void *(*get_private_ptr) (Socket s);