"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/mgmt/glusterd/src/glusterd-gfproxyd-svc.h" (16 Sep 2020, 1159 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-gfproxyd-svc.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2   Copyright (c) 2006-2012 Red Hat, Inc. <http://www.redhat.com>
    3   This file is part of GlusterFS.
    4 
    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 */
   10 
   11 #ifndef _GLUSTERD_GFPROXYD_SVC_H_
   12 #define _GLUSTERD_GFPROXYD_SVC_H_
   13 
   14 #include "glusterd-svc-mgmt.h"
   15 
   16 #define gfproxyd_svc_name "gfproxyd"
   17 
   18 struct glusterd_gfproxydsvc_ {
   19     glusterd_svc_t svc;
   20     gf_store_handle_t *handle;
   21     int port;
   22 };
   23 
   24 typedef struct glusterd_gfproxydsvc_ glusterd_gfproxydsvc_t;
   25 
   26 void
   27 glusterd_gfproxydsvc_build(glusterd_svc_t *svc);
   28 
   29 int
   30 glusterd_gfproxydsvc_manager(glusterd_svc_t *svc, void *data, int flags);
   31 
   32 int
   33 glusterd_gfproxydsvc_start(glusterd_svc_t *svc, int flags);
   34 
   35 int
   36 glusterd_gfproxydsvc_stop(glusterd_svc_t *svc, int sig);
   37 
   38 int
   39 glusterd_gfproxydsvc_reconfigure();
   40 
   41 void
   42 glusterd_gfproxydsvc_build_volfile_path(char *server, char *workdir,
   43                                         char *volfile, size_t len);
   44 
   45 int
   46 glusterd_gfproxydsvc_restart();
   47 #endif