X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/c93f1e0f2d3891330860de19b5ec3e274971a300..9b3bcfda2071ff49dd238b2315b1cc49c09a1552:/mandoc_xr.h?ds=inline diff --git a/mandoc_xr.h b/mandoc_xr.h index 3fe2f56d..e0c6af0e 100644 --- a/mandoc_xr.h +++ b/mandoc_xr.h @@ -1,4 +1,4 @@ -/* $Id: mandoc_xr.h,v 1.1 2017/07/01 09:47:30 schwarze Exp $ */ +/* $Id: mandoc_xr.h,v 1.3 2017/07/02 21:18:29 schwarze Exp $ */ /* * Copyright (c) 2017 Ingo Schwarze * @@ -19,12 +19,13 @@ struct mandoc_xr { struct mandoc_xr *next; char *sec; char *name; - int line; + int line; /* Or -1 for this page's own names. */ int pos; + int count; char hashkey[]; }; void mandoc_xr_reset(void); -void mandoc_xr_add(const char *, const char *, int, int); +int mandoc_xr_add(const char *, const char *, int, int); struct mandoc_xr *mandoc_xr_get(void); void mandoc_xr_free(void);