New state plugin callback for pagination.
* You need to change all statedata plugin callback for the new pagination feature * If you dont use pagination you can ignore the values of the new parameters * See [User manual pagination](https://clixon-docs.readthedocs.io/en/latest/misc.html#pagination) * The updated callback signature is as follows: ``` int statedata(clicon_handle h, cvec *nsc, char *xpath, pagination_mode_t pagmode, // NEW uint32_t offset, // NEW uint32_t limit, // NEW uint32_t *remaining, // NEW cxobj *xstate) ```
This commit is contained in:
parent
384ce70d7c
commit
a7a699a8b5
7 changed files with 32 additions and 39 deletions
|
|
@ -22,8 +22,7 @@ fexample=$dir/example-social.yang
|
|||
|
||||
# Number of audit-log entries
|
||||
# Note mem.sh sets it
|
||||
#: ${perfnr:=20000}
|
||||
: ${perfnr:=200}
|
||||
: ${perfnr:=20000}
|
||||
|
||||
cat <<EOF > $cfg
|
||||
<clixon-config xmlns="http://clicon.org/config">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue