2006-07-02 19:47:05 +00:00
|
|
|
/* vi: set sw=4 ts=4: */
|
2005-10-26 10:47:26 +00:00
|
|
|
/*
|
|
|
|
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
|
|
|
|
*/
|
|
|
|
|
2003-03-19 09:13:01 +00:00
|
|
|
#ifndef COREUTILS_H
|
|
|
|
#define COREUTILS_H 1
|
|
|
|
|
2008-05-09 17:59:34 +00:00
|
|
|
#if __GNUC_PREREQ(4,1)
|
|
|
|
# pragma GCC visibility push(hidden)
|
|
|
|
#endif
|
|
|
|
|
2003-03-19 09:13:01 +00:00
|
|
|
typedef int (*stat_func)(const char *fn, struct stat *ps);
|
|
|
|
|
2007-06-10 19:29:37 +00:00
|
|
|
int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf);
|
|
|
|
int cp_mv_stat(const char *fn, struct stat *fn_stat);
|
2003-03-19 09:13:01 +00:00
|
|
|
|
2008-03-17 09:00:54 +00:00
|
|
|
mode_t getopt_mk_fifo_nod(char **argv);
|
2003-03-19 09:13:01 +00:00
|
|
|
|
2008-05-09 17:59:34 +00:00
|
|
|
#if __GNUC_PREREQ(4,1)
|
|
|
|
# pragma GCC visibility pop
|
|
|
|
#endif
|
|
|
|
|
2003-03-19 09:13:01 +00:00
|
|
|
#endif
|