13aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev/** 23aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * \file pathutils.h 33aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * 43aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * Copyright (C) 2006 Chris A. Debenham <chris@adebenham.com> 53aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * 63aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * This library is free software; you can redistribute it and/or 73aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * modify it under the terms of the GNU Lesser General Public 83aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * License as published by the Free Software Foundation; either 93aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * version 2 of the License, or (at your option) any later version. 103aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * 113aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * This library is distributed in the hope that it will be useful, 123aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * but WITHOUT ANY WARRANTY; without even the implied warranty of 133aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 143aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * Lesser General Public License for more details. 153aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * 163aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * You should have received a copy of the GNU Lesser General Public 173aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * License along with this library; if not, write to the 183aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 193aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev * Boston, MA 02111-1307, USA. 203aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev */ 213aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev#ifndef PATHUTILS_H_INCLUSION_GUARD 223aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev#define PATHUTILS_H_INCLUSION_GUARD 233aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishevint parse_path (char *, LIBMTP_file_t *, LIBMTP_folder_t *); 243aa430dc5437a98734b36f996f9b17081a589143Yavor GoulishevLIBMTP_filetype_t find_filetype (const char *); 253aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishevint progress (const uint64_t, const uint64_t, void const * const); 263aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev#ifndef HAVE_LIBGEN_H 273aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishevchar *basename(char *in); 283aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev#endif 293aa430dc5437a98734b36f996f9b17081a589143Yavor Goulishev#endif 30