Clixon 6.1
Reviewed documentation, changelog, etc
This commit is contained in:
parent
994632daac
commit
72a4494b69
13 changed files with 53 additions and 55 deletions
|
|
@ -412,7 +412,6 @@ clicon_msg_rcv(int s,
|
|||
clicon_err(OE_PROTO, errno, "header too short (%d)", hlen);
|
||||
goto done;
|
||||
}
|
||||
|
||||
mlen = ntohl(hdr.op_len);
|
||||
clicon_debug(16, "op-len:%u op-id:%u",
|
||||
mlen, ntohl(hdr.op_id));
|
||||
|
|
|
|||
|
|
@ -693,7 +693,7 @@ xml_bind_yang_rpc_action(clicon_handle h,
|
|||
* @retval -1 Error
|
||||
* The
|
||||
* @code
|
||||
* if ((ret = xml_bind_yang_rpc(x, NULL, &xerr)) < 0)
|
||||
* if ((ret = xml_bind_yang_rpc(h, x, NULL, &xerr)) < 0)
|
||||
* err;
|
||||
* @endcode
|
||||
* @see xml_bind_yang For other generic cases
|
||||
|
|
@ -824,7 +824,7 @@ xml_bind_yang_rpc(clicon_handle h,
|
|||
* @retval -1 Error
|
||||
*
|
||||
* @code
|
||||
* if ((ret = xml_bind_yang_rpc_reply(x, "get-config", yspec, &xerr)) < 0)
|
||||
* if ((ret = xml_bind_yang_rpc_reply(h, x, "get-config", yspec, &xerr)) < 0)
|
||||
* err;
|
||||
* @endcode
|
||||
* @see xml_bind_yang For other generic cases
|
||||
|
|
|
|||
|
|
@ -1259,7 +1259,7 @@ xml2xpath1(cxobj *x,
|
|||
* Therefore, if nsc is "canonical", the returned xpath is also "canonical", even though the XML is not.
|
||||
* @param[in] x XML object
|
||||
* @param[in] nsc Namespace context
|
||||
* @param[in] spec If set, recursively continue only to root without spec
|
||||
* @param[in] spec If set, recursively continue only to root without spec (added in 6.1 for yang mount)
|
||||
* @param[out] xpath Malloced xpath string. Need to free() after use
|
||||
* @retval 0 OK
|
||||
* @retval -1 Error. (eg XML malformed)
|
||||
|
|
@ -1267,7 +1267,7 @@ xml2xpath1(cxobj *x,
|
|||
* char *xpath = NULL;
|
||||
* cxobj *x;
|
||||
* ... x is inside an xml tree ...
|
||||
* if (xml2xpath(x, nsc, &xpath) < 0)
|
||||
* if (xml2xpath(x, nsc, 0, &xpath) < 0)
|
||||
* err;
|
||||
* free(xpath);
|
||||
* @endcode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue