diff options
author | okan | 2014-01-20 18:58:03 +0000 |
---|---|---|
committer | okan | 2014-01-20 18:58:03 +0000 |
commit | 749175e23624a43a35824edada4545a6115dd4d1 (patch) | |
tree | 36997c1c39ae9c0e0881ff9083394c29aa3a3e12 /calmwm.h | |
parent | 7c3d7c7e009aba5952f235258aecebf4a42fcd3a (diff) | |
download | cwm-749175e23624a43a35824edada4545a6115dd4d1.tar.gz |
Add a function that adds an entry to a menuq, normalizing a common code
path; from Tiago Cunha.
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.240 2014/01/03 15:29:06 okan Exp $ + * $OpenBSD: calmwm.h,v 1.241 2014/01/20 18:58:03 okan Exp $ */ #ifndef _CALMWM_H_ @@ -508,6 +508,7 @@ struct menu *menu_filter(struct screen_ctx *, struct menu_q *, char *, char *, int, void (*)(struct menu_q *, struct menu_q *, char *), void (*)(struct menu *, int)); +void menuq_add(struct menu_q *, void *, const char *, ...); void menuq_clear(struct menu_q *); int parse_config(const char *, struct conf *); |