summaryrefslogtreecommitdiff
path: root/arm9/lib/libnns/include/NNS_FND_list.h
blob: 5fec2fdffc2fd438fe71fcbb75531f71c57ee5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef GUARD_NNS_FND_LIST_H
#define GUARD_NNS_FND_LIST_H

typedef struct
{
    void*       prevObject;     // Pointer to the previous linked object.
    void*       nextObject;     // Pointer to the next linked object.

} NNSFndLink;

typedef struct
{
    void*       headObject;     // Pointer for the object linked to the top of the list.
    void*       tailObject;     // Pointer for the object linked to the end of the list.
    u16         numObjects;     // Number of objects linked in the list.
    u16         offset;         // Offset for NNSFndLink type structure member.

} NNSFndList;

#endif //GUARD_NNS_FND_LIST_H