Moved fuzz dir to test/fuzz

Extended contributing document to testing and licensing
This commit is contained in:
Olof hagsand 2021-10-10 18:03:33 +02:00
parent edbbb43e1f
commit 8ede8a87b2
29 changed files with 62 additions and 1053 deletions

View file

@ -75,10 +75,12 @@ typedef struct {
* state (such as a cache) and can expect more pagination calls until the running db-lock is
* released, (see ca_lockdb)
* The transaction is the regular lock/unlock db of running-db of a specific session.
* @param[in] locked "running" datastore is locked by this caller
* @param[in] offset Offset, for list pagination
* @param[in] limit Limit, for list pagination
* see also pagination_data in clixon_plugin.h
* @param[in] locked "running" datastore is locked by this caller
* @param[out] xstate Returned xml data state tree
* @see pagination_data in clixon_plugin.h
* @see pagination_offset() and other accessor functions
*/
typedef struct {
uint32_t pd_offset; /* Start of pagination interval */

View file

@ -67,9 +67,9 @@ int transaction_log(clicon_handle h, transaction_data th, int level, const char
/* Pagination callbacks
* @see pagination_data_t internal structure
*/
int pagination_locked(pagination_data pd);
uint32_t pagination_offset(pagination_data pd);
uint32_t pagination_limit(pagination_data pd);
int pagination_locked(pagination_data pd);
cxobj *pagination_xstate(pagination_data pd);
#endif /* _CLIXON_BACKEND_TRANSACTION_H_ */