ef546fc369
Obtained from [1] at the request of Nerijus Baliunas [2]. [1] https://web.archive.org/web/20110720231607/http://www.fcoutant.freesurf.fr/download/wmmenu-1.2.tar.gz [2] http://lists.windowmaker.org/dev/msg07991.html
18 lines
424 B
C
18 lines
424 B
C
#ifndef utils_h_
|
|
#define utils_h_
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include "types.h"
|
|
|
|
extern char * File_ReadAll (FILE *) ;
|
|
extern bool File_FindInPath (char * out, int outSz,
|
|
const char * path, const char * basename) ;
|
|
|
|
#define streq(S1,S2) (strcmp ((S1), (S2)) == 0)
|
|
#define streql(S1,S2,L) (strncmp ((S1), (S2), (L)) == 0)
|
|
|
|
extern char * File_ReadOutputFromCommand (const char * cmd) ;
|
|
|
|
#endif /* utils_h_ */
|