str.h - bmf - bmf (Bayesian Mail Filter) 0.9.4 fork + patches
(HTM) git clone git://git.codemadness.org/bmf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
str.h (571B)
---
1 /* $Id: str.h,v 1.1.1.1 2002/09/30 21:08:29 tommy Exp $ */
2
3 /*
4 * Copyright (c) 2002 Tom Marshall <tommy@tig-grr.com>
5 *
6 * This program is free software. It may be distributed under the terms
7 * in the file LICENSE, found in the top level of the distribution.
8 */
9
10 #ifndef _STR_H
11 #define _STR_H
12
13 /* a couple of generic string functions... */
14 void strncpylwr( char* d, const char* s, int n );
15
16 typedef struct _str
17 {
18 char *p;
19 uint len;
20 } str_t;
21
22 void str_create (str_t *pthis);
23 int str_casecmp(const str_t *pthis, const str_t* pother);
24
25 #endif /* ndef _STR_H */