X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..0e2b222fc14b8f890fab644118cf0f43abbe450a:/lib/filepart.h diff --git a/lib/filepart.h b/lib/filepart.h index 446e684..9b6cf62 100644 --- a/lib/filepart.h +++ b/lib/filepart.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2005 Richard Kettlewell + * Copyright (C) 2005, 2007 Richard Kettlewell * * 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 @@ -17,10 +17,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ +/** @file lib/filepart.h + * @brief Filename parsing + */ #ifndef FILEPART_H #define FILEPART_H +char *d_basename(const char *path); + char *d_dirname(const char *path); /* return the directory name part of @path@ */