1/** 2 * \file 3 * \brief Network server thread of the bulk server 4 */ 5 6/* 7 * Copyright (c) 2007, 2008, 2009, 2010, ETH Zurich. 8 * All rights reserved. 9 * 10 * This file is distributed under the terms in the attached LICENSE file. 11 * If you do not find this file, copies can be found by writing to: 12 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 13 */ 14 15 16 17#ifndef BLOCK_NETWORK_SERVER_H 18#define BLOCK_NETWORK_SERVER_H 19 20#include "network_common.h" 21 22 23errval_t block_net_init(uint16_t port); 24 25errval_t block_net_start(void); 26 27errval_t block_net_stop(void); 28 29struct block_net_server *block_net_server_lookup(size_t block_start); 30 31#endif /* BLOCK_NETWORK_SERVER_H */ 32