1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
7 * Portions Copyright (C) 2013 CohortFS, LLC
9 * This is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License version 2.1, as published by the Free Software
12 * Foundation. See file COPYING.
19 #include <boost/intrusive/list.hpp>
20 #include "msg/SimplePolicyMessenger.h"
24 #include "XioConnection.h"
25 #include "msg/msg_types.h"
28 namespace bi = boost::intrusive;
40 enum submit_type type;
41 bi::list_member_hook<> submit_list;
45 XioSubmit(enum submit_type _type, XioConnection *_xcon) :
46 type(_type), xcon(_xcon)
49 typedef bi::list< XioSubmit,
50 bi::member_hook< XioSubmit,
51 bi::list_member_hook<>,
52 &XioSubmit::submit_list >
58 #endif /* XIO_SUBMIT_H */