aboutsummaryrefslogtreecommitdiff
path: root/src/actions.h
blob: b5319beaf1201b413fbbab1fc129366f06427190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * File: actions.h
 *
 * Copyright (C) 2024 Rodrigo Arias Mallo <rodarima@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 */

#ifndef ACTIONS_H
#define ACTIONS_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include "dlib/dlib.h"

typedef struct {
   char *label;
   char *cmd;
} Action;

void a_Actions_init(void);
Dlist *a_Actions_link_get(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* ACTIONS_H*/