summaryrefslogtreecommitdiffstats
path: root/uidmap.h
blob: 1145175cda9a40cbbfcabe39edd0043a558a84da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _UIDMAP_H_
#define _UIDMAP_H_

#include "types.h"
#include <stdint.h>

struct string;

uint32_t uidmap_getNumberForName(struct uidmap *uidmap, const struct string *name);

const struct string *uidmap_getNameForNumber(struct uidmap *uidmap, const struct string *number);

void uidmap_init(struct uidmap *uidmap);

void uidmap_cleanupSave(struct uidmap *uidmap);

#endif