cmogstored.git  about / heads / tags
alternative mogstored implementation for MogileFS
blob 7dcc154ee20fbb25c37c58ddc6ebb89ef49755a7 402 bytes (raw)
$ git show gl-env:http.h	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
/*
 * Copyright (C) 2012-2016 all contributors <cmogstored-public@bogomips.org>
 * License: GPLv3 or later (see COPYING for details)
 */
#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