aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/invitation.h
diff options
context:
space:
mode:
authorIndent <please@skip.me>2015-02-19 02:47:20 -0300
committerdequis <dx@dxzone.com.ar>2015-02-20 19:50:54 -0300
commit5ebff60479fc7a9f7f50ac03b124c91d4e6ebe11 (patch)
tree9fc0d50cb1f4bc9768d9f00de94eafd876bb55b0 /protocols/msn/invitation.h
parentaf359b4316f9d392c6b752495a1b2ed631576ed8 (diff)
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
Diffstat (limited to 'protocols/msn/invitation.h')
-rw-r--r--protocols/msn/invitation.h29
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