niNewNis

Initializes the Nis structure pointer

Syntax

#include  "niffapi.h"

int niNewNis(Nis *nis);

Arguments

nis   Pointer to the Nis strucutre

Return value

Returns the pointer to the initialized Nis structure.

Description

The NIFFAPI functions handle NIFF data as Nis structures. Nis structures are defined to correspond to the NIFF specifications. The part that corresponds to NIFF 1.0 is nis.h, while the part that corresponds to NIFF 2.0 is nos2.h

See Also

For the Nis structure, see n64kit/niff/niffapi/nis.h and n64kit/niff/niffapi/nis2.h.