mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
Made all header files to have LABWC_ prefix in include guard identifers. Converted from __LABWC_ in 35 include/ files. Converted from __LAB_ in 5 include/ files. Added LABWC prefix to 3 include/ files. Added include guards to 3 include/ files. The double underscores were removed since according to C standard those "are always reserved for any use".
18 lines
360 B
C
18 lines
360 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Read file into memory
|
|
*
|
|
* Copyright Johan Malm 2020
|
|
*/
|
|
|
|
#ifndef LABWC_GRAB_FILE_H
|
|
#define LABWC_GRAB_FILE_H
|
|
|
|
/**
|
|
* grab_file - read file into memory buffer
|
|
* @filename: file to read
|
|
* Returns pointer to buffer. Free with free().
|
|
*/
|
|
char *grab_file(const char *filename);
|
|
|
|
#endif /* LABWC_GRAB_FILE_H */
|