quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

data.h (650B)


      1 /* See LICENSE file for copyright and license details. */
      2 #ifndef DATA_H
      3 #define DATA_H
      4 
      5 #include "http.h"
      6 #include "util.h"
      7 
      8 extern enum status (* const data_fct[])(const struct response *,
      9                                         struct buffer *, size_t *);
     10 
     11 enum status data_prepare_dirlisting_buf(const struct response *,
     12                                     struct buffer *, size_t *);
     13 enum status data_prepare_error_buf(const struct response *,
     14                                    struct buffer *, size_t *);
     15 enum status data_prepare_file_buf(const struct response *,
     16                               struct buffer *, size_t *);
     17 
     18 #endif /* DATA_H */