bpaul-http

http server that will eventually be used for bpaul.xyz
Log | Files | Refs | README

file.h (185B)


      1 #pragma once
      2 
      3 #include <stdbool.h>
      4 #include <stdio.h>
      5 
      6 size_t fsize(FILE *f);
      7 bool valid_path(const char *name);
      8 bool is_directory(const char *name);
      9 char *read_file(const char *name);