cmogstored.git  about / heads / tags
alternative mogstored implementation for MogileFS
blob 5dd3a3040afd98a4043038136d66c905734d1d32 265 bytes (raw)
$ git show st-wip-broken:http.h	# shows this blob on the CLI

1
2
3
4
5
6
7
8
 
#include "iov_str.h"
void mog_http_resp0(struct mog_fd *, struct iovec *status, bool alive);

#define mog_http_resp(mfd,conststr,alive) do { \
	struct iovec statustmp; \
	IOV_STR(&statustmp, (conststr)); \
	mog_http_resp0((mfd), &statustmp, (alive)); \
} while (0)

git clone https://yhbt.net/cmogstored.git