nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

fmt.h (617B)


      1 #ifndef FMT_H
      2 #define FMT_H
      3 
      4 #include <stddef.h>
      5 
      6 #define FMT_ULONG 40 /* enough space to hold 2^128 - 1 in decimal, plus \0 */
      7 #define FMT_LEN (NULL) /* convenient abbreviation */
      8 
      9 extern unsigned int fmt_uint(char *, unsigned int);
     10 extern unsigned int fmt_uint0(char *, unsigned int, unsigned int);
     11 extern unsigned int fmt_ulong(char *, unsigned long);
     12 extern unsigned int fmt_ulongalphabet(char *, unsigned long, char *, unsigned long);
     13 extern unsigned int fmt_ulonglong(char *, unsigned long long);
     14 
     15 extern unsigned int fmt_str(char *, char *);
     16 extern unsigned int fmt_strn(char *, char *, unsigned int);
     17 
     18 #endif