X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mutt_socket.h;h=5483cb6fcac3b14be921165c1a930add3d8b8ab7;hb=a548b928816889f8f2aa5bfe8f755d8234ce19db;hp=ce191fbdb1340e4c9aaf5daa208b39f20c8fbd60;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1;p=apps%2Fmadmutt.git diff --git a/mutt_socket.h b/mutt_socket.h index ce191fb..5483cb6 100644 --- a/mutt_socket.h +++ b/mutt_socket.h @@ -1,6 +1,6 @@ /* * Copyright (C) 1998 Brandon Long - * Copyright (C) 1999-2001 Brendan Cully + * Copyright (C) 1999-2005 Brendan Cully * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -44,10 +44,10 @@ typedef struct _connection struct _connection *next; void *sockdata; - int (*read) (struct _connection* conn, char* buf, size_t len); - int (*write) (struct _connection *conn, const char *buf, size_t count); - int (*open) (struct _connection *conn); - int (*close) (struct _connection *conn); + int (*conn_read) (struct _connection* conn, char* buf, size_t len); + int (*conn_write) (struct _connection *conn, const char *buf, size_t count); + int (*conn_open) (struct _connection *conn); + int (*conn_close) (struct _connection *conn); } CONNECTION; int mutt_socket_open (CONNECTION* conn);