Ignore:
Timestamp:
2015-02-20T22:50:54Z (9 years ago)
Author:
dequis <dx@…>
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)
Message:

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/invitation.h

    raf359b4 r5ebff60  
    1212 the Free Software Foundation; either version 2 of the License, or
    1313 (at your option) any later version.
    14  
     14
    1515 This program is distributed in the hope that it will be useful,
    1616 but WITHOUT ANY WARRANTY; without even the implied warranty of
    1717 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1818 GNU General Public License for more details.
    19  
     19
    2020 You should have received a copy of the GNU General Public License with
    2121 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL;
     
    2929#include "msn.h"
    3030
    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"
     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"
    3434
    3535#define MSNFTP_PSIZE 2048
    3636
    3737typedef enum {
    38         MSN_TRANSFER_RECEIVING  = 1,
    39         MSN_TRANSFER_SENDING    = 2
     38        MSN_TRANSFER_RECEIVING  = 1,
     39        MSN_TRANSFER_SENDING    = 2
    4040} msn_filetransfer_status_t;
    4141
    42 typedef struct msn_filetransfer
    43 {
    44 /* Generic invitation data */   
     42typedef struct msn_filetransfer {
     43/* Generic invitation data */
    4544        /* msn_data instance this invitation was received with. */
    4645        struct msn_data *md;
     
    6564        char tbuf[256];
    6665        unsigned int tbufpos;
    67        
     66
    6867        unsigned int data_sent;
    6968
    7069        gint r_event_id;
    7170        gint w_event_id;
    72        
     71
    7372        unsigned char sbuf[2048];
    7473        int sbufpos;
     
    7675} msn_filetransfer_t;
    7776
    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 );
     77void msn_invitation_invite(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen);
     78void msn_invitation_accept(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen);
     79void msn_invitation_cancel(struct msn_switchboard *sb, char *handle, unsigned int cookie, char *body, int blen);
    8180
    8281#endif
Note: See TracChangeset for help on using the changeset viewer.