"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/mgmt/glusterd/src/glusterd-conn-helper.c" (16 Sep 2020, 607 Bytes) of package /linux/misc/glusterfs-8.2.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "glusterd-conn-helper.c" see the Fossies "Dox" file reference documentation.

    1 /*
    2    Copyright (c) 2014 Red Hat, Inc. <http://www.redhat.com>
    3    This file is part of GlusterFS.
    5    This file is licensed to you under your choice of the GNU Lesser
    6    General Public License, version 3 or any later version (LGPLv3 or
    7    later), or the GNU General Public License, version 2 (GPLv2), in all
    8    cases as published by the Free Software Foundation.
    9 */
   11 #include "glusterd-conn-mgmt.h"
   12 #include "glusterd-svc-mgmt.h"
   14 #define _LGPL_SOURCE
   15 #include <urcu/rculist.h>
   17 glusterd_svc_t *
   18 glusterd_conn_get_svc_object(glusterd_conn_t *conn)
   19 {
   20     return cds_list_entry(conn, glusterd_svc_t, conn);
   21 }