/
status.h
28 lines (25 loc) · 970 Bytes
/
status.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* status.h
* (c) 2010 Ulrich Hecht, SuSE Linux Products GmbH <uli@suse.de>
*
* This file is part of obsfs.
*
* obsfs is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 2 or version 3 of the License.
*
* obsfs 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 General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along
* with obsfs. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include <sys/types.h>
typedef struct status_s status_t;
status_t *xml_status_init(void);
int xml_status_write(void *ptr, size_t size, size_t nmemb, void *userdata);
int xml_get_status(status_t *status);
void xml_status_destroy(status_t *status);