libsparklepaw
PawSD library
Loading...
Searching...
No Matches
simple.h
Go to the documentation of this file.
1
3
4#ifndef SPRKL_SIMPLE_H
5#define SPRKL_SIMPLE_H
6
7#include "common.h"
8#include "service.h"
9
10#include <stdint.h>
11
13const char* sprkl_strerror(int err);
14
25 struct sprkl_service** svc,
26 enum sprkl_sigalgo alg, uint8_t* key, uint16_t idx
27 );
28
29#endif
Common data types.
sprkl_sigalgo
Available signature algorithms.
Definition common.h:9
Services, records and tags.
const char * sprkl_strerror(int err)
Converts an error code generated by sprkl_fetchsvc() into a message.
Definition simple.c:8
int sprkl_fetchsvc(struct sprkl_service **svc, enum sprkl_sigalgo alg, uint8_t *key, uint16_t idx)
Fetches a service by its zone key and index.
Definition simple.c:15
A service, contains a collection of related records and is cryptographically signed.
Definition service.h:32