diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 13:01:44 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-30 13:01:44 +0530 |
commit | 1c63c8b794a7bf85acad42637757e6b1e2f10e03 (patch) | |
tree | a5f26bc36469b8f3340df25f6804c9d751bc0d04 /include/msg.h | |
parent | 7e754c2410fed09cfb30bc9a4799829cd804b063 (diff) |
main: move msg into a separate context, and let main call it
Diffstat (limited to 'include/msg.h')
-rw-r--r-- | include/msg.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/msg.h b/include/msg.h new file mode 100644 index 0000000..631c981 --- /dev/null +++ b/include/msg.h @@ -0,0 +1,34 @@ +/* + * msg + * Copyright (C) 2025 Raghuram Subramani <raghus2247@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. + * + * 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/>. + */ + +#ifndef __MAIN_H +#define __MAIN_H + +#define ASSETS "assets" +#define CONFIG_FILE "config.cfg" +#define BASE_TEMPLATE "base.html" +#define OUTPUT "dist" +#define PARTIALS "partials" + +typedef struct { + char *base_directory; +} msg_t; + +int run(int argc, char **argv); + +#endif |