/* utils.h PUBLIC DOMAIN 2016 */ /* part of dqrs */ /* I, Tom Vajzovic, am the author of this software and its documentation. I permanently abandon all intellectual property rights in them, including copyright, trademarks, design rights, database right, patents, and the right to be identified as the author. I am fairly certain that the software does what the documentation says it does, but I do not guarantee that it does, or that it does what you think it should. I do not guarantee that it will not have undesirable side effects. You are free to use, modify and distribute this software as you please, but you do so at your own risk. If you do not pass on this warning then you may be responsible for any problems encountered by those who obtain the software through you. */ #ifndef UTILS_H_INCLUDED #define UTILS_H_INCLUDED #include #include #ifdef __cplusplus extern "C" { #endif DIR *opendirat (int dir_fd_parent, const char *name); char *readlinkata (int dir_fd, const char *name); int open_file_only (int dir_fd, const char *name, off_t *size_p); #ifdef __cplusplus } #endif #endif /* UTILS_H_INCLUDED */