runit

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

scan.h (1413B)


      1 /* Public domain. */
      2 
      3 #ifndef SCAN_H
      4 #define SCAN_H
      5 
      6 extern unsigned int scan_uint(const char *,unsigned int *);
      7 extern unsigned int scan_xint(const char *,unsigned int *);
      8 extern unsigned int scan_nbbint(const char *,unsigned int,unsigned int,unsigned int,unsigned int *);
      9 extern unsigned int scan_ushort(const char *,unsigned short *);
     10 extern unsigned int scan_xshort(const char *,unsigned short *);
     11 extern unsigned int scan_nbbshort(const char *,unsigned int,unsigned int,unsigned int,unsigned short *);
     12 extern unsigned int scan_ulong(const char *,unsigned long *);
     13 extern unsigned int scan_xlong(const char *,unsigned long *);
     14 extern unsigned int scan_nbblong(const char *,unsigned int,unsigned int,unsigned int,unsigned long *);
     15 
     16 extern unsigned int scan_plusminus(const char *,int *);
     17 extern unsigned int scan_0x(const char *,unsigned int *);
     18 
     19 extern unsigned int scan_whitenskip(const char *,unsigned int);
     20 extern unsigned int scan_nonwhitenskip(const char *,unsigned int);
     21 extern unsigned int scan_charsetnskip(const char *,const char *,unsigned int);
     22 extern unsigned int scan_noncharsetnskip(const char *,const char *,unsigned int);
     23 
     24 extern unsigned int scan_strncmp(const char *,const char *,unsigned int);
     25 extern unsigned int scan_memcmp(const char *,const char *,unsigned int);
     26 
     27 extern unsigned int scan_long(const char *,long *);
     28 extern unsigned int scan_8long(const char *,unsigned long *);
     29 
     30 #endif