c-md/includes/utils.h.md
lohhiiccc 80f7a1b9b6 feat(build): add build instructions in README and convert sources to .c.md format
- Add detailed build and bootstrap instructions to README.md.
 - Convert all source and header files from .c/.h to .c.md/.h.md.
 - Add bootstrap.sh script for automated building across version history.
 - Update Makefile and sources.mk to reflect new markdown-based source organization.
2026-01-12 14:54:49 +01:00

331 B

#ifndef UTILS_H
# define UTILS_H

# include <stdint.h>
# include <stdio.h>

char *
read_line(FILE *f);

int8_t
starts_with(const char *str, const char *prefix);

char *
extract_fence_ext(const char *fence);

const char *
extract_file_ext(const char *path);

const char *
infer_ext_from_filename(const char *path);

#endif