NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
definition.h File Reference

Define an Expando format string. More...

#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for definition.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ExpandoDefinition
 Definition of a format string. More...
 

Macros

#define EP_NO_FLAGS   0
 No flags are set.
 
#define EP_CONDITIONAL   (1 << 0)
 Expando is being used as a condition.
 
#define EP_NO_CUSTOM_PARSE   (1 << 1)
 Don't use the custom parser.
 

Typedefs

typedef uint8_t ExpandoParserFlags
 Flags for expando_parse(), e.g. EP_CONDITIONAL.
 

Enumerations

enum  ExpandoDataType { E_TYPE_STRING = 0 , E_TYPE_NUMBER }
 Type of data. More...
 

Detailed Description

Define an Expando format string.

Authors
  • Tóth János
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file definition.h.

Macro Definition Documentation

◆ EP_NO_FLAGS

#define EP_NO_FLAGS   0

No flags are set.

Definition at line 42 of file definition.h.

◆ EP_CONDITIONAL

#define EP_CONDITIONAL   (1 << 0)

Expando is being used as a condition.

Definition at line 43 of file definition.h.

◆ EP_NO_CUSTOM_PARSE

#define EP_NO_CUSTOM_PARSE   (1 << 1)

Don't use the custom parser.

Definition at line 44 of file definition.h.

Typedef Documentation

◆ ExpandoParserFlags

typedef uint8_t ExpandoParserFlags

Flags for expando_parse(), e.g. EP_CONDITIONAL.

Definition at line 41 of file definition.h.

Enumeration Type Documentation

◆ ExpandoDataType

Type of data.

Enumerator
E_TYPE_STRING 

Data is a string.

E_TYPE_NUMBER 

Data is numeric.

Definition at line 35 of file definition.h.

36{
37 E_TYPE_STRING = 0,
39};
@ E_TYPE_STRING
Data is a string.
Definition: definition.h:37
@ E_TYPE_NUMBER
Data is numeric.
Definition: definition.h:38