Archived
1
0
Fork 0

moving src/common to src/

This commit is contained in:
Henrik Hautakoski 2010-10-19 13:34:06 +02:00
parent 22d7238b36
commit cfb5e85699
20 changed files with 49 additions and 50 deletions

View file

@ -1,23 +0,0 @@
/* common/path.h - path handling routines
*
* Copyright (C) 2010 Henrik Hautakoski <henrik@fiktivkod.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*/
#ifndef __COMMON_PATH_H
#define __COMMON_PATH_H
#include <stddef.h>
#include <libgen.h>
int is_abspath(const char *path);
size_t pathlen(const char *path);
char* path_normalize(const char *base, const char *name, unsigned char dir);
#endif /* __COMMON_PATH_H */