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