File: file.h

package info (click to toggle)
ofono 2.18-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,064 kB
  • sloc: ansic: 224,979; sh: 5,012; python: 4,040; makefile: 956
file content (22 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Embedded Linux library
 * Copyright (C) 2017  Intel Corporation
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef __ELL_FILE_H
#define __ELL_FILE_H

#ifdef __cplusplus
extern "C" {
#endif

void *l_file_get_contents(const char *filename, size_t *out_len);
int l_file_set_contents(const char *filename, const void *data, size_t len);

#ifdef __cplusplus
}
#endif

#endif /* __ELL_FILE_H */