File size: 750 Bytes
fd49381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef STRING_PARSER_H_INCLUDED
#define STRING_PARSER_H_INCLUDED

#include "int.h"

void
interpretUll(const char *  const string,
             uint64_t *    const ullP,
             const char ** const errorP);

void
interpretLl(const char *  const string,
            int64_t *     const llP,
            const char ** const errorP);

void
interpretUint(const char *   const string,
              unsigned int * const uintP,
              const char **  const errorP);

void
interpretInt(const char *  const string,
             int *         const uintP,
             const char ** const errorP);

void
interpretBinUint(const char *  const string,
                 uint64_t *    const valueP,
                 const char ** const errorP);

#endif