Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
7f83a124
Commit
7f83a124
authored
Nov 17, 2014
by
vvaltman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new version of libtgl
parent
cbf95249
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
loop.c
loop.c
+1
-0
loop.h
loop.h
+3
-0
tgl
tgl
+1
-1
No files found.
loop.c
View file @
7f83a124
...
...
@@ -723,6 +723,7 @@ int loop (void) {
tgl_set_timer_methods
(
TLS
,
&
tgl_libevent_timers
);
assert
(
TLS
->
timer_methods
);
tgl_set_download_directory
(
TLS
,
get_downloads_directory
());
tgl_register_app_id
(
TLS
,
TELEGRAM_CLI_APP_ID
,
TELEGRAM_CLI_APP_HASH
);
tgl_init
(
TLS
);
if
(
binlog_enabled
)
{
...
...
loop.h
View file @
7f83a124
...
...
@@ -18,6 +18,9 @@
*/
#ifndef __LOOP_H__
#define __LOOP_H__
#define TELEGRAM_CLI_APP_HASH "36722c72256a24c1225de00eb6a1ca74"
#define TELEGRAM_CLI_APP_ID 2899
int
loop
(
void
);
void
do_halt
(
int
error
);
void
net_loop
(
int
flags
,
int
(
*
end
)(
void
));
...
...
tgl
@
a2403df8
Subproject commit
343cf63ead5872975c4e24ac936dc2b255dcf7fc
Subproject commit
a2403df85b430311feb6a8c214428802800b1633
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment