namesys: Fixed ErrNamesys error.
This commit is contained in:
parent
ef2f112f6a
commit
b1d5440303
2 changed files with 16 additions and 11 deletions
|
@ -3,17 +3,21 @@
|
|||
|
||||
#define DefaultDepthLimit 32
|
||||
|
||||
char *ErrNamesys[] = {
|
||||
NULL,
|
||||
"ErrAllocFailed",
|
||||
"ErrNULLPointer",
|
||||
"Could not publish name."
|
||||
"Could not resolve name.",
|
||||
"Could not resolve name (recursion limit exceeded).",
|
||||
"expired record",
|
||||
"unrecognized validity type",
|
||||
"not a valid proquint string"
|
||||
};
|
||||
#ifdef NAMESYS_C
|
||||
char *ErrNamesys[] = {
|
||||
NULL,
|
||||
"ErrAllocFailed",
|
||||
"ErrNULLPointer",
|
||||
"Could not publish name."
|
||||
"Could not resolve name.",
|
||||
"Could not resolve name (recursion limit exceeded).",
|
||||
"expired record",
|
||||
"unrecognized validity type",
|
||||
"not a valid proquint string"
|
||||
};
|
||||
#else
|
||||
extern char *ErrNamesys;
|
||||
#endif // NAMESYS_C
|
||||
|
||||
enum {
|
||||
ErrAllocFailed = 1,
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <time.h>
|
||||
#include "ipfs/cid/cid.h"
|
||||
#include "ipfs/path/path.h"
|
||||
#define NAMESYS_C
|
||||
#include "ipfs/namesys/namesys.h"
|
||||
|
||||
/* mpns (a multi-protocol NameSystem) implements generic IPFS naming.
|
||||
|
|
Loading…
Reference in a new issue