mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
s/xbm_read_file()/grab_file/()
This commit is contained in:
parent
042c157378
commit
6627a47305
5 changed files with 51 additions and 22 deletions
17
include/common/grab-file.h
Normal file
17
include/common/grab-file.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue