xmppc
0.0.1
XMPP Command Line Client
|
#include "config.h"
#include <assert.h>
#include <getopt.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <strophe.h>
#include <errno.h>
#include <termios.h>
#include <unistd.h>
#include "xmppc.h"
#include "mode/account.h"
#include "mode/message.h"
#include "mode/muc.h"
#include "mode/omemo.h"
#include "mode/roster.h"
#include "mode/pgp.h"
#include "mode/openpgp.h"
#include "mode/monitor.h"
#include "mode/mam.h"
#include "mode/discovery.h"
#include "mode/bookmark.h"
Classes | |
struct | callback_t |
The callback structure. More... | |
struct | mode_mapping |
Mode Mapping. More... | |
Functions | |
void | conn_handler (xmpp_conn_t *const conn, const xmpp_conn_event_t status, const int error, xmpp_stream_error_t *const stream_error, void *const userdata) |
Connection Handler Callback of libstrophe. More... | |
int | main (int argc, char *argv[]) |
C-Main function. More... | |
vim: expandtab:ts=2:sts=2:sw=2
xmppc is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
xmppc 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 along with Foobar. If not, see http://www.gnu.org/licenses/.
German
Diese Datei ist Teil von xmppc.
xmppc ist Freie Software: Sie können es unter den Bedingungen der GNU General Public License, wie von der Free Software Foundation, Version 3 der Lizenz oder (nach Ihrer Wahl) jeder neueren veröffentlichten Version, weiter verteilen und/oder modifizieren.
xmppc wird in der Hoffnung, dass es nützlich sein wird, aber OHNE JEDE GEWÄHRLEISTUNG, bereitgestellt; sogar ohne die implizite Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK. Siehe die GNU General Public License für weitere Details.
Sie sollten eine Kopie der GNU General Public License zusammen mit diesem Programm erhalten haben. Wenn nicht, siehe https://www.gnu.org/licenses/.
void conn_handler | ( | xmpp_conn_t *const | conn, |
const xmpp_conn_event_t | status, | ||
const int | error, | ||
xmpp_stream_error_t *const | stream_error, | ||
void *const | userdata | ||
) |
Connection Handler Callback of libstrophe.
This function will be called by libstrophe.
conn | See libstrophe documentation |
status | See libstrophe documentation |
error | See libstrophe documentation |
stream_error | See libstrophe documentation |
userdata | callback_t object for the mode request by user. |
int main | ( | int | argc, |
char * | argv[] | ||
) |
C-Main function.
argc | Arguments counter |
argv | Arguments vector |