1 /*
2     This file is part of telegram-cli.
3 
4     Telegram-cli is free software: you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation, either version 2 of the License, or
7     (at your option) any later version.
8 
9     Telegram-cli is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13 
14     You should have received a copy of the GNU General Public License
15     along with this telegram-cli.  If not, see <http://www.gnu.org/licenses/>.
16 
17     Copyright Vitaly Valtman 2013-2015
18 */
19 #ifndef __LOOP_H__
20 #define __LOOP_H__
21 #define TELEGRAM_CLI_APP_HASH "36722c72256a24c1225de00eb6a1ca74"
22 #define TELEGRAM_CLI_APP_ID 2899
23 
24 int loop (void);
25 void do_halt (int error);
26 void write_auth_file (void);
27 void write_state_file (void);
28 void write_secret_chat_file (void);
29 #endif
30