42 #ifdef HAVE_SYS_TYPES_H 43 # include <sys/types.h> 49 #define SYSTEM_MAXLEN 1024 66 int ods_fgetc(FILE* fd,
unsigned int* line_nr);
86 char*
ods_build_path(
const char* file,
const char* suffix,
int dir,
97 FILE*
ods_fopen(
const char* file,
const char* dir,
const char* mode);
113 ssize_t
ods_writen(
int fd,
const void* vptr,
size_t n);
130 int ods_strcmp(
const char* s1,
const char* s2);
149 const char*
ods_replace(
const char *str,
const char *oldstr,
180 void ods_chown(
const char* file, uid_t uid, gid_t gid,
int getdir);
ods_status ods_file_copy(const char *file1, const char *file2, long startpos, int append)
int ods_skip_whitespace(FILE *fd, unsigned int *line_nr)
time_t ods_file_lastmodified(const char *file)
ssize_t ods_writen(int fd, const void *vptr, size_t n)
FILE * ods_fopen(const char *file, const char *dir, const char *mode)
int ods_strlowercmp(const char *s1, const char *s2)
enum ods_enum_status ods_status
void ods_chown(const char *file, uid_t uid, gid_t gid, int getdir)
int ods_strcmp(const char *s1, const char *s2)
void ods_str_trim(char *str)
void ods_str_list_add(char ***list, char *str)
char * ods_dir_name(const char *file)
const char * ods_file_mode2str(const char *mode)
char * ods_build_path(const char *file, const char *suffix, int dir, int no_slash)
void ods_fclose(FILE *fd)
int ods_fgetc(FILE *fd, unsigned int *line_nr)
const char * ods_replace(const char *str, const char *oldstr, const char *newstr)