diff options
Diffstat (limited to 'protocols/msn/invitation.h')
-rw-r--r-- | protocols/msn/invitation.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/protocols/msn/invitation.h b/protocols/msn/invitation.h index 13bbf0d3..3e3bba0f 100644 --- a/protocols/msn/invitation.h +++ b/protocols/msn/invitation.h @@ -11,12 +11,12 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License with the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; if not, write to the Free Software Foundation, Inc., 51 Franklin St., @@ -28,20 +28,19 @@ #include "msn.h" -#define MSN_INVITE_HEADERS "MIME-Version: 1.0\r\n" \ - "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n" \ - "\r\n" +#define MSN_INVITE_HEADERS "MIME-Version: 1.0\r\n" \ + "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n" \ + "\r\n" #define MSNFTP_PSIZE 2048 typedef enum { - MSN_TRANSFER_RECEIVING = 1, - MSN_TRANSFER_SENDING = 2 + MSN_TRANSFER_RECEIVING = 1, + MSN_TRANSFER_SENDING = 2 } msn_filetransfer_status_t; -typedef struct msn_filetransfer -{ -/* Generic invitation data */ +typedef struct msn_filetransfer { +/* Generic invitation data */ /* msn_data instance this invitation was received with. */ struct msn_data *md; /* Cookie specifying this invitation. */ @@ -64,19 +63,19 @@ typedef struct msn_filetransfer /* Buffer containing received, but unprocessed text. */ char tbuf[256]; unsigned int tbufpos; - + unsigned int data_sent; gint r_event_id; gint w_event_id; - + unsigned char sbuf[2048]; int sbufpos; } msn_filetransfer_t; -void msn_invitation_invite( struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen ); -void msn_invitation_accept( struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen ); -void msn_invitation_cancel( struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen ); +void msn_invitation_invite(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen); +void msn_invitation_accept(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen); +void msn_invitation_cancel(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen); #endif |