server/src/common/util/base36.h

37 lines
1,015 B
C

/* vi: set ts=2:
*
*
* Eressea PB(E)M host Copyright (C) 1998-2003
* Christian Schlittchen (corwin@amber.kn-bremen.de)
* Katja Zedel (katze@felidae.kn-bremen.de)
* Henning Peters (faroul@beyond.kn-bremen.de)
* Enno Rehling (enno@eressea-pbem.de)
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
*
* based on:
*
* Atlantis v1.0 13 September 1993 Copyright 1993 by Russell Wallace
* Atlantis v1.7 Copyright 1996 by Alex Schröder
*
* This program may not be used, modified or distributed without
* prior permission by the authors of Eressea.
* This program may not be sold or used commercially without prior written
* permission from the authors.
*/
#ifndef H_UTIL_BASE36
#define H_UTIL_BASE36
#ifdef __cplusplus
extern "C" {
#endif
extern int atoi36(const char * s);
extern const char* itoab(int i, int base);
extern const char* itoa36(int i);
extern const char* itoa10(int i);
extern int i10toi36(int i);
#ifdef __cplusplus
}
#endif
#endif