X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Ftic.h;h=fb713afdd280df31b36af150b0c1604bafcfe0ed;hp=528a1b7d5af35849be142e1a12dfcec52b765e53;hb=90d42867e1296bc79021006a92032c76e59068b6;hpb=85b1a478852e6473f6f698af5f6fca055f43f21c diff --git a/include/tic.h b/include/tic.h index 528a1b7d..fb713afd 100644 --- a/include/tic.h +++ b/include/tic.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. * + * Copyright (c) 1998-2012,2017 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 * @@ -33,7 +33,7 @@ ****************************************************************************/ /* - * $Id: tic.h,v 1.69 2012/03/17 18:22:10 tom Exp $ + * $Id: tic.h,v 1.70 2017/02/04 01:48:53 tom Exp $ * tic.h - Global variables and structures for the terminfo * compiler. */ @@ -86,6 +86,8 @@ extern "C" { #define IS_TIC_MAGIC(p) (LOW_MSB(p) == MAGIC) +#define quick_prefix(s) (!strncmp((s), "b64:", 4) || !strncmp((s), "hex:", 4)) + /* * The "maximum" here is misleading; XSI guarantees minimum values, which a * given implementation may exceed.