Changeset 5ebff60 for protocols/msn/invitation.h
- Timestamp:
- 2015-02-20T22:50:54Z (9 years ago)
- Branches:
- master
- Children:
- 0b9daac, 3d45471, 7733b8c
- Parents:
- af359b4
- git-author:
- Indent <please@…> (19-02-15 05:47:20)
- git-committer:
- dequis <dx@…> (20-02-15 22:50:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/invitation.h
raf359b4 r5ebff60 12 12 the Free Software Foundation; either version 2 of the License, or 13 13 (at your option) any later version. 14 14 15 15 This program is distributed in the hope that it will be useful, 16 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 18 GNU General Public License for more details. 19 19 20 20 You should have received a copy of the GNU General Public License with 21 21 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; … … 29 29 #include "msn.h" 30 30 31 #define MSN_INVITE_HEADERS 32 33 31 #define MSN_INVITE_HEADERS "MIME-Version: 1.0\r\n" \ 32 "Content-Type: text/x-msmsgsinvite; charset=UTF-8\r\n" \ 33 "\r\n" 34 34 35 35 #define MSNFTP_PSIZE 2048 36 36 37 37 typedef enum { 38 MSN_TRANSFER_RECEIVING 39 MSN_TRANSFER_SENDING 38 MSN_TRANSFER_RECEIVING = 1, 39 MSN_TRANSFER_SENDING = 2 40 40 } msn_filetransfer_status_t; 41 41 42 typedef struct msn_filetransfer 43 { 44 /* Generic invitation data */ 42 typedef struct msn_filetransfer { 43 /* Generic invitation data */ 45 44 /* msn_data instance this invitation was received with. */ 46 45 struct msn_data *md; … … 65 64 char tbuf[256]; 66 65 unsigned int tbufpos; 67 66 68 67 unsigned int data_sent; 69 68 70 69 gint r_event_id; 71 70 gint w_event_id; 72 71 73 72 unsigned char sbuf[2048]; 74 73 int sbufpos; … … 76 75 } msn_filetransfer_t; 77 76 78 void msn_invitation_invite( struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen);79 void msn_invitation_accept( struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen);80 void msn_invitation_cancel( struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen);77 void msn_invitation_invite(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen); 78 void msn_invitation_accept(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen); 79 void msn_invitation_cancel(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen); 81 80 82 81 #endif
Note: See TracChangeset
for help on using the changeset viewer.