org-list-struct-fix-box

org-list-struct-fix-box is a compiled Lisp function in `org-list.el'.

(org-list-struct-fix-box STRUCT PARENTS PREVS &optional ORDERED)

Verify and correct checkboxes in STRUCT.

PARENTS is the alist of parents and PREVS is the alist of
previous items, as returned by, respectively,
`org-list-parents-alist' and `org-list-prevs-alist'.

If ORDERED is non-nil, a checkbox can only be checked when every
checkbox before it is checked too. If there was an attempt to
break this rule, the function will return the blocking item. In
all others cases, the return value will be nil.

This function modifies STRUCT.