2005-05-15 18:37:00 +00:00
|
|
|
/*
|
2005-06-08 16:00:51 +00:00
|
|
|
* $Id: extra.h,v 1.2 2005-06-08 16:00:51 bacon Exp $
|
2005-05-15 18:37:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XP_STX_EXTRA_H_
|
|
|
|
#define _XP_STX_EXTRA_H_
|
|
|
|
|
|
|
|
#include <xp/stx/stx.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-06-08 16:00:51 +00:00
|
|
|
xp_word_t xp_stx_strlen (const xp_char_t* str)
|
2005-05-15 18:37:00 +00:00
|
|
|
|
|
|
|
int xp_stx_strcmp (
|
2005-06-08 16:00:51 +00:00
|
|
|
const xp_char_t* s1, const xp_char_t* s2);
|
2005-05-15 18:37:00 +00:00
|
|
|
int xp_stx_strxcmp (
|
2005-06-08 16:00:51 +00:00
|
|
|
const xp_char_t* s1, xp_word_t len, const xp_char_t* s2);
|
2005-05-15 18:37:00 +00:00
|
|
|
|
2005-06-08 16:00:51 +00:00
|
|
|
xp_word_t xp_stx_strhash (const xp_char_t* str);
|
|
|
|
xp_word_t xp_stx_strxhash (const xp_char_t* str, xp_word_t len);
|
2005-05-15 18:37:00 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|