Delta Chat Core C-Library
mrosnative.c
1 /*******************************************************************************
2  *
3  * Delta Chat Core
4  * Copyright (C) 2017 Björn Petersen
5  * Contact: r10s@b44t.com, http://b44t.com
6  *
7  * This program is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, either version 3 of the License, or (at your option) any later
10  * version.
11  *
12  * This program is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15  * details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program. If not, see http://www.gnu.org/licenses/ .
19  *
20  ******************************************************************************/
21 
22 
23 /* Some functions that are called by the backend under certain
24 circumstances. The frontents should create a copy of this file
25 and implement the functions as needed, eg. for attaching threads in JNI. */
26 
27 
28 #include <stdlib.h>
29 #include "mrmailbox.h"
30 #include "mrosnative.h"
31 
32 
33 int mrosnative_setup_thread(mrmailbox_t* mailbox)
34 {
35  return 1;
36 }
37 
38 
39 void mrosnative_unsetup_thread(mrmailbox_t* mailbox)
40 {
41 }
42 
43 
An object representing a single mailbox.
Definition: mrmailbox.h:141