/src/util.h

https://code.google.com/ · C Header · 38 lines · 10 code · 4 blank · 24 comment · 0 complexity · 4afbc534e506d8a3b05dd2ec97ea06c9 MD5 · raw file

  1. /*
  2. $Id: util.h 231 2011-06-27 13:46:19Z marc.noirot $
  3. FLV Metadata updater
  4. Copyright (C) 2007-2012 Marc Noirot <marc.noirot AT gmail.com>
  5. This file is part of FLVMeta.
  6. FLVMeta is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. FLVMeta is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with FLVMeta; if not, write to the Free Software
  16. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef __UTIL_H__
  19. #define __UTIL_H__
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif /* __cplusplus */
  23. /* determine whether two paths physically point to the same file */
  24. int same_file(const char * file1, const char * file2);
  25. #ifdef __cplusplus
  26. }
  27. #endif /* __cplusplus */
  28. #endif /* __UTIL_H__ */