ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/tools.h
(Generate patch)

Comparing ermyth/include/tools.h (file contents):
Revision 1.2 by pippijn, Sat Jul 21 01:29:07 2007 UTC vs.
Revision 1.3 by pippijn, Wed Jul 25 00:03:21 2007 UTC

3 * Copyright © 2005-2006 Atheme Development Group 3 * Copyright © 2005-2006 Atheme Development Group
4 * Rights to this code are as documented in doc/pod/license.pod. 4 * Rights to this code are as documented in doc/pod/license.pod.
5 * 5 *
6 * Misc tools 6 * Misc tools
7 * 7 *
8 * $Id: tools.h,v 1.2 2007/07/21 01:29:07 pippijn Exp $ 8 * $Id: tools.h,v 1.3 2007/07/25 00:03:21 pippijn Exp $
9 */ 9 */
10 10
11#ifndef _TOOLS_H 11#ifndef _TOOLS_H
12#define _TOOLS_H 12#define _TOOLS_H
13 13
234 } \ 234 } \
235 } while (0) 235 } while (0)
236#endif 236#endif
237 237
238/* tokenize.c */ 238/* tokenize.c */
239E int sjtoken (char *message, char delimiter, char **parv); 239E int sjtoken (char *message, char delimiter, char **parv, int limit = 256);
240E int tokenize (char *message, char **parv); 240E int tokenize (char *message, char **parv);
241 241
242/* ubase64.c */ 242/* ubase64.c */
243E const char *uinttobase64 (char *buf, uint64_t v, int64_t count); 243E const char *uinttobase64 (char *buf, uint64_t v, int64_t count);
244E unsigned int base64touint (char *buf); 244E unsigned int base64touint (char *buf);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines