|
@ -191,3 +191,9 @@ unsigned short gethu(char *message, unsigned short *min, unsigned short *max) { |
|
|
LD(max) |
|
|
LD(max) |
|
|
return getNumber(message, minld, maxld, NULL, NULL, 0, USHRT_MAX); |
|
|
return getNumber(message, minld, maxld, NULL, NULL, 0, USHRT_MAX); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
unsigned int getu(char *message, unsigned int *min, unsigned int *max) { |
|
|
|
|
|
LD(min) |
|
|
|
|
|
LD(max) |
|
|
|
|
|
return getNumber(message, minld, maxld, NULL, NULL, 0, UINT_MAX); |
|
|
|
|
|
} |