Frameworks/libpurple.framework/Versions/0.5.6/Headers/cmdproc.h
branchadium-1.3
changeset 350 708bedafdc3a
parent 349 17ef128722b7
child 351 b01ab9b157f9
     1.1 --- a/Frameworks/libpurple.framework/Versions/0.5.6/Headers/cmdproc.h	Sun Jun 21 22:04:11 2009 -0400
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,76 +0,0 @@
     1.4 -/**
     1.5 - * @file cmdproc.h MSN command processor functions
     1.6 - *
     1.7 - * purple
     1.8 - *
     1.9 - * Purple is the legal property of its developers, whose names are too numerous
    1.10 - * to list here.  Please refer to the COPYRIGHT file distributed with this
    1.11 - * source distribution.
    1.12 - *
    1.13 - * This program is free software; you can redistribute it and/or modify
    1.14 - * it under the terms of the GNU General Public License as published by
    1.15 - * the Free Software Foundation; either version 2 of the License, or
    1.16 - * (at your option) any later version.
    1.17 - *
    1.18 - * This program is distributed in the hope that it will be useful,
    1.19 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.20 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.21 - * GNU General Public License for more details.
    1.22 - *
    1.23 - * You should have received a copy of the GNU General Public License
    1.24 - * along with this program; if not, write to the Free Software
    1.25 - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
    1.26 - */
    1.27 -#ifndef _MSN_CMDPROC_H_
    1.28 -#define _MSN_CMDPROC_H_
    1.29 -
    1.30 -typedef struct _MsnCmdProc MsnCmdProc;
    1.31 -
    1.32 -#include "session.h"
    1.33 -#include "servconn.h"
    1.34 -#include "error.h"
    1.35 -#include "command.h"
    1.36 -#include "table.h"
    1.37 -#include "history.h"
    1.38 -
    1.39 -struct _MsnCmdProc
    1.40 -{
    1.41 -	MsnSession *session;
    1.42 -	MsnServConn *servconn;
    1.43 -
    1.44 -	GQueue *txqueue;
    1.45 -
    1.46 -	MsnCommand *last_cmd;
    1.47 -
    1.48 -	MsnTable *cbs_table;
    1.49 -
    1.50 -	MsnHistory *history;
    1.51 -
    1.52 -	GHashTable *multiparts; /**< Multi-part message ID's */
    1.53 -
    1.54 -	void *data; /**< Extra data, like the switchboard. */
    1.55 -};
    1.56 -
    1.57 -MsnCmdProc *msn_cmdproc_new(MsnSession *session);
    1.58 -void msn_cmdproc_destroy(MsnCmdProc *cmdproc);
    1.59 -
    1.60 -void msn_cmdproc_process_queue(MsnCmdProc *cmdproc);
    1.61 -
    1.62 -void msn_cmdproc_send_trans(MsnCmdProc *cmdproc, MsnTransaction *trans);
    1.63 -void msn_cmdproc_queue_trans(MsnCmdProc *cmdproc,
    1.64 -							 MsnTransaction *trans);
    1.65 -void msn_cmdproc_send(MsnCmdProc *cmdproc, const char *command,
    1.66 -					  const char *format, ...);
    1.67 -void msn_cmdproc_send_quick(MsnCmdProc *cmdproc, const char *command,
    1.68 -							const char *format, ...);
    1.69 -
    1.70 -void msn_cmdproc_process_msg(MsnCmdProc *cmdproc,
    1.71 -							 MsnMessage *msg);
    1.72 -void msn_cmdproc_process_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd);
    1.73 -void msn_cmdproc_process_cmd_text(MsnCmdProc *cmdproc, const char *command);
    1.74 -void msn_cmdproc_process_payload(MsnCmdProc *cmdproc,
    1.75 -								 char *payload, int payload_len);
    1.76 -
    1.77 -void msn_cmdproc_disconnect(MsnCmdProc *cmdproc);
    1.78 -
    1.79 -#endif /* _MSN_CMDPROC_H_ */