Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

lowdown_buf — parse and diff Markdown buffers into formatted output

Description

       Parses lowdown(5) buffers new of size newsz and old of size oldsz and produces an edit script in  ret  of
       size retsz according to configurations opts.  The script defines differences from old to new.  The output
       format is specified by opts->type.

       The caller is responsible for freeing ret.

Library

       library “liblowdown”

Name

       lowdown_buf — parse and diff Markdown buffers into formatted output

Return Values

       Returns zero on failure, non-zero on success.  Failure occurs from memory exhaustion.

See Also

lowdown(3)

Debian                                             $Mdocdate$                                LOWDOWN_BUF_DIFF(3)

Synopsis

#include<sys/queue.h>#include<stdio.h>#include<lowdown.h>intlowdown_buf_diff(conststructlowdown_opts*opts,    constchar*new,    size_tnewsz,   constchar*old,
           size_toldsz, char**ret, size_t*retsz);

See Also