NeoMutt  2024-11-14-138-ge5ca67
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
expando.c File Reference

History Expando definitions. More...

#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "expando.h"
#include "lib.h"
#include "expando/lib.h"
+ Include dependency graph for expando.c:

Go to the source code of this file.

Functions

static long history_number (const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
 History: Index number - Implements get_number_t -.
 
static void history_match (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
 History: History match - Implements get_string_t -.
 

Variables

const struct ExpandoRenderCallback HistoryRenderCallbacks []
 Callbacks for History Expandos.
 

Detailed Description

History Expando definitions.

Authors
  • 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 expando.c.

Variable Documentation

◆ HistoryRenderCallbacks

const struct ExpandoRenderCallback HistoryRenderCallbacks[]
Initial value:
= {
{ -1, -1, NULL, NULL },
}
@ ED_HISTORY
History ED_HIS_ ExpandoDataHistory.
Definition: domain.h:45
static long history_number(const struct ExpandoNode *node, void *data, MuttFormatFlags flags)
History: Index number - Implements get_number_t -.
Definition: expando.c:39
static void history_match(const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf)
History: History match - Implements get_string_t -.
Definition: expando.c:49
@ ED_HIS_MATCH
HistoryEntry.history.
Definition: lib.h:79
@ ED_HIS_NUMBER
HistoryEntry.num.
Definition: lib.h:80

Callbacks for History Expandos.

See also
HistoryFormatDef, ExpandoDataGlobal, ExpandoDataHistory

Definition at line 63 of file expando.c.