Updated miranda files from libsipe repo after syncup to current siplcs
[siplcs.git] / src / miranda / miranda-network.c
blobcdaf6119e4403efe30de4055b28fa5bc32952220
1 /**
2 * @file purple-network.c
4 * pidgin-sipe
6 * Copyright (C) 2010 SIPE Project <http://sipe.sourceforge.net/>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #include <windows.h>
24 #include <stdio.h>
26 #include <glib.h>
28 #include "newpluginapi.h"
29 #include "m_protosvc.h"
30 #include "m_protoint.h"
32 #include "sipe-backend.h"
33 #include "miranda-private.h"
35 const gchar *sipe_backend_network_ip_address(void)
37 _NIF();
38 return "216.49.157.212";
41 struct sipe_backend_listendata {
42 int dummy;
45 static void
46 backend_listen_cb(int listenfd, struct sipe_backend_listendata *ldata)
48 _NIF();
51 struct sipe_backend_listendata *
52 sipe_backend_network_listen_range(unsigned short port_min,
53 unsigned short port_max,
54 sipe_listen_start_cb listen_cb,
55 sipe_client_connected_cb connect_cb,
56 gpointer data)
58 _NIF();
59 return NULL;
62 void sipe_backend_network_listen_cancel(struct sipe_backend_listendata *ldata)
64 _NIF();
68 Local Variables:
69 mode: c
70 c-file-style: "bsd"
71 indent-tabs-mode: t
72 tab-width: 8
73 End: