summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/tgl/tgl-structures.h
diff options
context:
space:
mode:
authorKirill Volinsky <Mataes2007@gmail.com>2017-11-29 09:33:41 +0300
committerKirill Volinsky <Mataes2007@gmail.com>2017-11-29 09:33:41 +0300
commit89f3cf8bbb9dc1fa0fe72f6af6638ac086c7e011 (patch)
tree5be9a7ae2255b9ad420bed266b90b1f98059964a /protocols/Telegram/src/tgl/tgl-structures.h
parente28c4adb361a87e143eb8cb2af449e3bcb3375b1 (diff)
libevent, telegram, whatsapp moved to deprecated coz doesn't work
Diffstat (limited to 'protocols/Telegram/src/tgl/tgl-structures.h')
-rw-r--r--protocols/Telegram/src/tgl/tgl-structures.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/protocols/Telegram/src/tgl/tgl-structures.h b/protocols/Telegram/src/tgl/tgl-structures.h
deleted file mode 100644
index 4e3fd9ec32..0000000000
--- a/protocols/Telegram/src/tgl/tgl-structures.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- This file is part of tgl-library
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-
- Copyright Vitaly Valtman 2013-2015
-*/
-#ifndef __STRUCTURES_H__
-#define __STRUCTURES_H__
-
-#include <assert.h>
-#include "tgl-layout.h"
-#include "tgl-fetch.h"
-#include "tgl.h"
-
-char *tgls_default_create_print_name (struct tgl_state *TLS, tgl_peer_id_t id, const char *a1, const char *a2, const char *a3, const char *a4);
-
-
-void tgls_free_user (struct tgl_state *TLS, struct tgl_user *U);
-void tgls_free_chat (struct tgl_state *TLS, struct tgl_chat *U);
-void tgls_free_photo (struct tgl_state *TLS, struct tgl_photo *P);
-void tgls_free_message (struct tgl_state *TLS, struct tgl_message *M);
-void tgls_free_bot_info (struct tgl_state *TLS, struct tgl_bot_info *B);
-void tgls_clear_message (struct tgl_state *TLS, struct tgl_message *M);
-
-struct tgl_message *tglm_message_alloc (struct tgl_state *TLS, long long id);
-void tglm_message_insert_tree (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_update_message_id (struct tgl_state *TLS, struct tgl_message *M, long long id);
-void tglm_message_insert (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_message_insert_unsent (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_message_remove_unsent (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_send_all_unsent (struct tgl_state *TLS);
-void tglm_message_remove_tree (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_message_add_peer (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_message_del_peer (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_message_del_use (struct tgl_state *TLS, struct tgl_message *M);
-void tglm_message_add_use (struct tgl_state *TLS, struct tgl_message *M);
-
-void tglp_peer_insert_name (struct tgl_state *TLS, tgl_peer_t *P);
-void tglp_peer_delete_name (struct tgl_state *TLS, tgl_peer_t *P);
-void tglp_insert_encrypted_chat (struct tgl_state *TLS, tgl_peer_t *P);
-void tglp_insert_user (struct tgl_state *TLS, tgl_peer_t *P);
-void tglp_insert_chat (struct tgl_state *TLS, tgl_peer_t *P);
-enum tgl_typing_status tglf_fetch_typing (void);
-void tgls_messages_mark_read (struct tgl_state *TLS, struct tgl_message *M, int out, int seq);
-
-void tgls_insert_random2local (struct tgl_state *TLS, long long random_id, int local_id);
-int tgls_get_local_by_random (struct tgl_state *TLS, long long random_id);
-
-
-void tgl_photo_insert (struct tgl_state *TLS, struct tgl_photo *P);
-struct tgl_photo *tgl_photo_get (struct tgl_state *TLS, long long id);
-struct tgl_document *tgl_document_get (struct tgl_state *TLS, long long id);
-void tgl_document_insert (struct tgl_state *TLS, struct tgl_document *P);
-struct tgl_webpage *tgl_webpage_get (struct tgl_state *TLS, long long id);
-void tgl_webpage_insert (struct tgl_state *TLS, struct tgl_webpage *P);
-#endif