about summary refs log tree commit diff
path: root/cmd.h
blob: ec9e6915dec2bd59afccd242c42b19bc44a0c20a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef CMD_H
#define CMD_H

typedef void (*cgit_cmd_fn)(struct cgit_context *ctx);

struct cgit_cmd {
	const char *name;
	cgit_cmd_fn fn;
	unsigned int want_repo:1,
		want_layout:1;
};

extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx);

#endif /* CMD_H */
d>Add libedit to chrootJune McEnroe 2018-08-04Define A_ITALIC if not definedJune McEnroe 2018-08-04Do not free const string portJune McEnroe 2018-08-04Split source into several filesJune McEnroe 2018-08-04Exit on zero readJune McEnroe 2018-08-04Handle nick errorsJune McEnroe 2018-08-04Handle /nick and /quitJune McEnroe 2018-08-04Track own nickJune McEnroe 2018-08-04Word all status messages in presentJune McEnroe 2018-08-03Handle inputJune McEnroe 2018-08-03Track own usernameJune McEnroe 2018-08-03Use a wide pad for the topicJune McEnroe 2018-08-03Ignore NOTICEs not sent to the channelJune McEnroe 2018-08-03Handle KICK and NICKJune McEnroe 2018-08-03Continue on EINTR from pollJune McEnroe 2018-08-03Handle ACTIONsJune McEnroe 2018-08-03Use more octal char literalsJune McEnroe 2018-08-03Send a WHO in response to NAMES to get usernamesJune McEnroe 2018-08-03Colorize nicks and channelsJune McEnroe 2018-08-03Add support for mIRC colorsJune McEnroe 2018-08-03Handle bold, italic, underlineJune McEnroe 2018-08-03Add prift function for "prefix shift"June McEnroe 2018-08-03Link with -lcurseswJune McEnroe 2018-08-02Use libtls "compat" ciphersJune McEnroe 2018-08-02Add UI and handle some kinds of server messagesJune McEnroe 2018-08-02Add chroot.tar targetJune McEnroe