home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / borutil.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.4 KB  |  58 lines

  1. /*
  2.     borutil.h - Various internally-used utility functions.
  3. */
  4.  
  5. /*
  6.  *      C/C++ Run Time Library - Version 10.0
  7.  *
  8.  *      Copyright (c) 1999, 2000 by Inprise Corporation
  9.  *      All Rights Reserved.
  10.  *
  11.  */
  12.  
  13. /* $Revision:   9.0  $ */
  14.  
  15. #ifndef __BORUTIL_H
  16. #define __BORUTIL_H
  17.  
  18. #include <stddef.h>
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. /*
  25.  * Return a pointer to the last directory component in the passed in
  26.  * path.
  27.  */
  28. char const * _RTLENTRY _EXPFUNC basename(char const *fn);
  29.  
  30. /*
  31.  * return the length of the common substring in 's1' and 's2' anchored
  32.  * at the end.  compare the characters without case sensitivity.
  33.  */
  34. _SIZE_T _RTLENTRY _EXPFUNC strirshr(const char *s1, const char *s2);
  35.  
  36. /*
  37.  * return the length of the common substring in 's1' and 's2' anchored
  38.  * at the end.  compare the characters with case sensitivity.
  39.  */
  40. _SIZE_T _RTLENTRY _EXPFUNC strrshr(const char *s1, const char *s2);
  41.  
  42. /*
  43.  * return the length of the common substring in 's1' and 's2' anchored
  44.  * at the beginning.  compare the characters with case sensitivity.
  45.  */
  46. _SIZE_T _RTLENTRY _EXPFUNC strshr(const char *s1, const char *s2);
  47.  
  48. /*
  49.  * return the length of the common substring in 's1' and 's2' anchored
  50.  * at the beginning.  compare the characters without case sensitivity.
  51.  */
  52. _SIZE_T _RTLENTRY _EXPFUNC strishr(const char *s1, const char *s2);
  53.  
  54. #ifdef __cplusplus
  55. } /* "C" */
  56. #endif
  57.  
  58. #endif /* __BORUTIL_H */