Functions | |
bool | isIDNT (SatAddr src) |
is the object at src an IDNT? | |
char * | IDNTdecode (SatAddr src, char *dst) |
Convert an IDNT to a null-terminated string. | |
SatAddr | IDNTencode (const char *src, SatAddr dst) |
Convert a null-terminated C string into an IDNT object. | |
SatAddr | makeIDNT (unsigned size) |
Allocate space for an IDNT with size characters. | |
int | IDNTnibbles (SatAddr src) |
Return the size in nibbles of the IDNT at src. | |
int | IDNTnumChars (SatAddr src) |
return the number of characters in an IDNT |
char* IDNTdecode | ( | SatAddr | src, | |
char * | dst | |||
) |
Convert an IDNT to a null-terminated string.
src | The Saturn address of an IDNT | |
dst | A pointer to a buffer with sufficient space to hold the name, or zero. If the value is zero then space will be malloc'ed to hold the name. |
Convert a null-terminated C string into an IDNT object.
src | The null-terminated string. It must be less than 256 characters in length. | |
dst | The Saturn address where the IDNT should be stored. If dst is zero then space is allocated for the IDNT Otherwise dst must point to sufficient space for the IDNT |
int IDNTnibbles | ( | SatAddr | src | ) |
Return the size in nibbles of the IDNT at src.
src | the Saturn address of an IDNT object |
int IDNTnumChars | ( | SatAddr | src | ) |
return the number of characters in an IDNT
src | The Saturn address of an IDNT |
bool isIDNT | ( | SatAddr | src | ) |
is the object at src an IDNT?
src | Saturn address of an object |
SatAddr makeIDNT | ( | unsigned | size | ) |
Allocate space for an IDNT with size characters.
size | The number of characters in the IDNT |