X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Fdump_entry.h;h=798fa80112d15a48e931b11381894dd93fc90311;hp=1f4a52a180d3ac7eefc8031c357190ea29507975;hb=5817afea017464ac3b89170fb205f21d99bec47c;hpb=55ccd2b959766810cf7db8d1c4462f338ce0afc8 diff --git a/progs/dump_entry.h b/progs/dump_entry.h index 1f4a52a1..798fa801 100644 --- a/progs/dump_entry.h +++ b/progs/dump_entry.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2002,2004 Free Software Foundation, Inc. * + * Copyright (c) 1998-2014,2015 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,9 +32,8 @@ * and: Thomas E. Dickey 1996-on * ****************************************************************************/ - /* - * $Id: dump_entry.h,v 1.27 2004/12/04 15:37:17 tom Exp $ + * $Id: dump_entry.h,v 1.37 2015/09/05 15:49:58 tom Exp $ * * Dump control definitions and variables */ @@ -63,16 +62,20 @@ #define CMP_USE 3 /* comparison on use capabilities */ typedef unsigned PredType; -typedef int PredIdx; -typedef int (*PredFunc)(PredType, PredIdx); +typedef unsigned PredIdx; +typedef int (*PredFunc) (PredType, PredIdx); +typedef void (*PredHook) (PredType, PredIdx, const char *); extern NCURSES_CONST char *nametrans(const char *); -extern void dump_init(const char *, int, int, int, int, bool); -extern int fmt_entry(TERMTYPE *, PredFunc, bool, bool, bool, int); -extern int dump_entry(TERMTYPE *, bool, bool, int, int, PredFunc); -extern int dump_uses(const char *, bool); -extern void compare_entry(void (*)(PredType, PredIdx, const char *), TERMTYPE *, bool); -extern void repair_acsc(TERMTYPE * tp); +extern bool has_params(const char *src); +extern int fmt_entry(TERMTYPE *, PredFunc, int, int, int, int); +extern int show_entry(void); +extern void compare_entry(PredHook, TERMTYPE *, bool); +extern void dump_entry(TERMTYPE *, int, int, int, PredFunc); +extern void dump_init(const char *, int, int, int, int, unsigned, bool, + bool, int); +extern void dump_uses(const char *, bool); +extern void repair_acsc(TERMTYPE *tp); #define FAIL -1