glusterfs  8.2
About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x (latest version).
  Fossies Dox: glusterfs-8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

strfd.c File Reference
#include <stdarg.h>
#include "glusterfs/mem-types.h"
#include "glusterfs/mem-pool.h"
#include "glusterfs/strfd.h"
#include "glusterfs/common-utils.h"
Include dependency graph for strfd.c:

Go to the source code of this file.

Functions

strfd_tstrfd_open ()
 
int strvprintf (strfd_t *strfd, const char *fmt, va_list ap)
 
int strprintf (strfd_t *strfd, const char *fmt,...)
 
int strfd_close (strfd_t *strfd)
 

Function Documentation

◆ strfd_close()

int strfd_close ( strfd_t strfd)

Definition at line 87 of file strfd.c.

References strfd_t::data, and GF_FREE.

Referenced by meta_default_readlink(), and meta_file_fill().

◆ strfd_open()

strfd_t* strfd_open ( )

Definition at line 19 of file strfd.c.

References GF_CALLOC, and gf_common_mt_strfd_t.

Referenced by meta_default_readlink(), and meta_file_fill().

◆ strprintf()

int strprintf ( strfd_t strfd,
const char *  fmt,
  ... 
)

◆ strvprintf()

int strvprintf ( strfd_t strfd,
const char *  fmt,
va_list  ap 
)