Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /****************************************************************************
  2. *
  3. *                            Open Watcom Project
  4. *
  5. *    Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
  6. *
  7. *  ========================================================================
  8. *
  9. *    This file contains Original Code and/or Modifications of Original
  10. *    Code as defined in and that are subject to the Sybase Open Watcom
  11. *    Public License version 1.0 (the 'License'). You may not use this file
  12. *    except in compliance with the License. BY USING THIS FILE YOU AGREE TO
  13. *    ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
  14. *    provided with the Original Code and Modifications, and is also
  15. *    available at www.sybase.com/developer/opensource.
  16. *
  17. *    The Original Code and all software distributed under the License are
  18. *    distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  19. *    EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
  20. *    ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
  21. *    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
  22. *    NON-INFRINGEMENT. Please see the License for the specific language
  23. *    governing rights and limitations under the License.
  24. *
  25. *  ========================================================================
  26. *
  27. * Description:  Prototypes for direct 'calls' to inline functions.
  28. *
  29. ****************************************************************************/
  30.  
  31.  
  32. #ifndef _XSTRING_H_INCLUDED
  33. #include "variety.h"
  34. #include <string.h>
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39.  
  40. #ifdef  __INLINE_FUNCTIONS__
  41.  void *_inline_memchr( const void *__s, int __c, size_t __n );
  42.  int   _inline_memcmp( const void *__s1, const void *__s2, size_t __n );
  43.  void *_inline_memcpy( void *__s1, const void *__s2, size_t __n );
  44.  void *_inline_memmove( void *__s1, const void *__s2, size_t __n );
  45.  void *_inline_memset( void *__s, int __c, size_t __n );
  46.  char *_inline_strcat( char *__s1, const char *__s2 );
  47.  char *_inline_strchr( const char *__s, int __c );
  48.  int  _inline_strcmp( const char *__s1, const char *__s2 );
  49.  char *_inline_strcpy( char *__s1, const char *__s2 );
  50.  size_t _inline_strlen( const char *__s );
  51.  void _WCFAR *_inline__fmemchr( const void _WCFAR *__s, int __c, size_t __n );
  52.  void _WCFAR *_inline__fmemcpy( void _WCFAR *__s1, const void _WCFAR *__s2, size_t __n );
  53.  void _WCFAR *_inline__fmemset( void _WCFAR *__s, int __c, size_t __n );
  54.  int  _inline__fmemcmp( const void _WCFAR *__s1, const void _WCFAR *__s2, size_t __n );
  55.  char _WCFAR *_inline__fstrcat( char _WCFAR *__s1, const char _WCFAR *__s2 );
  56.  char _WCFAR *_inline__fstrchr( const char _WCFAR *__s, int __c );
  57.  int  _inline__fstrcmp( const char _WCFAR *__s1, const char _WCFAR *__s2 );
  58.  char _WCFAR *_inline__fstrcpy( char _WCFAR *__s1, const char _WCFAR *__s2 );
  59.  size_t _inline__fstrlen( const char _WCFAR *__s );
  60.  void _inline_movedata( unsigned __srcseg, unsigned __srcoff,
  61.                 unsigned __tgtseg, unsigned __tgtoff, unsigned __len );
  62. #endif  /* __INLINE_FUNCTIONS__ */
  63.  
  64. #define _XSTRING_H_INCLUDED
  65. #ifdef __cplusplus
  66. };
  67. #endif
  68. #endif
  69.