summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-conn-helper.c
blob: 43c95c3a386e017637446c7d0e491befa8aa96f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
   Copyright (c) 2014 Red Hat, Inc. <http://www.redhat.com>
   This file is part of GlusterFS.

   This file is licensed to you under your choice of the GNU Lesser
   General Public License, version 3 or any later version (LGPLv3 or
   later), or the GNU General Public License, version 2 (GPLv2), in all
   cases as published by the Free Software Foundation.
*/

#include "glusterd-conn-mgmt.h"
#include "glusterd-svc-mgmt.h"

glusterd_svc_t *
glusterd_conn_get_svc_object (glusterd_conn_t *conn)
{
        return list_entry (conn, glusterd_svc_t, conn);
}