1*95c635efSGarrett D'Amore /* 2*95c635efSGarrett D'Amore * This file and its contents are supplied under the terms of the 3*95c635efSGarrett D'Amore * Common Development and Distribution License ("CDDL"), version 1.0. 4*95c635efSGarrett D'Amore * You may only use this file in accordance with the terms of version 5*95c635efSGarrett D'Amore * 1.0 of the CDDL. 6*95c635efSGarrett D'Amore * 7*95c635efSGarrett D'Amore * A full copy of the text of the CDDL should have accompanied this 8*95c635efSGarrett D'Amore * source. A copy of the CDDL is also available via the Internet at 9*95c635efSGarrett D'Amore * http://www.illumos.org/license/CDDL. 10*95c635efSGarrett D'Amore */ 11*95c635efSGarrett D'Amore 12*95c635efSGarrett D'Amore /* 13*95c635efSGarrett D'Amore * Copyright 2012 Nexenta Systems, Inc. All rights reserved. 14*95c635efSGarrett D'Amore * Copyright 2014 Garrett D'Amore <garrett@damore.org> 15*95c635efSGarrett D'Amore */ 16*95c635efSGarrett D'Amore 17*95c635efSGarrett D'Amore /* 18*95c635efSGarrett D'Amore * Common definitions 19*95c635efSGarrett D'Amore */ 20*95c635efSGarrett D'Amore 21*95c635efSGarrett D'Amore #ifndef _MAN_H_ 22*95c635efSGarrett D'Amore #define _MAN_H_ 23*95c635efSGarrett D'Amore 24*95c635efSGarrett D'Amore #define CONFIG "man.cf" 25*95c635efSGarrett D'Amore #define DEFMANDIR "/usr/share/man" 26*95c635efSGarrett D'Amore #define INDENT 24 27*95c635efSGarrett D'Amore #define PAGER "less -ins" 28*95c635efSGarrett D'Amore #define WHATIS "whatis" 29*95c635efSGarrett D'Amore #define PRECONV "/usr/lib/mandoc_preconv" 30*95c635efSGarrett D'Amore 31*95c635efSGarrett D'Amore #define LINE_ALLOC 4096 32*95c635efSGarrett D'Amore #define MAXDIRS 128 33*95c635efSGarrett D'Amore #define MAXTOKENS 64 34*95c635efSGarrett D'Amore 35*95c635efSGarrett D'Amore #define DPRINTF if (debug) \ 36*95c635efSGarrett D'Amore (void) printf 37*95c635efSGarrett D'Amore 38*95c635efSGarrett D'Amore void mwpath(char *path); 39*95c635efSGarrett D'Amore 40*95c635efSGarrett D'Amore #endif /* _MAN_H_ */ 41