/* CHAPTER 10. Annotations */ /* Return the annotations from a PDF in JSON format, returning also its length. */ void *cpdf_annotationsJSON(int, int *); /* cpdf_removeAnnotations(pdf, range) removes all annotations from pages in the * given range. */ void cpdf_removeAnnotations(int, int); /* cpdf_setAnnotationsJSON(pdf, data, length) adds the annotations given in * JSON format to the PDF, on top of any existing annotations. */ void cpdf_setAnnotationsJSON(int, void *, int);