The Assimilation Project  based on Assimilation version 1.1.7.1474836767
_GMainFd Struct Reference

#include <gmainfd.h>

Data Fields

GSource baseclass
 Our base class - NOT an AssimObj. More...
 
GPollFD gfd
 Poll/select object for gmainloop. More...
 
GString * textread
 The text we've read so far. More...
 
gboolean atEOF
 TRUE if the file descriptor is at EOF. More...
 
int gsourceid
 
void(* newtext )(GMainFd *, const char *, int)
 Deal with newly read text. More...
 
gboolean(* readmore )(GMainFd *self)
 Read another chunk. More...
 
void(* finalize )(GMainFd *)
 finalize function More...
 

Detailed Description

Definition at line 34 of file gmainfd.h.

Field Documentation

gboolean _GMainFd::atEOF

TRUE if the file descriptor is at EOF.

Definition at line 38 of file gmainfd.h.

GSource _GMainFd::baseclass

Our base class - NOT an AssimObj.

Definition at line 35 of file gmainfd.h.

Referenced by test_log_command_output(), and test_read_command_output_at_EOF().

void(* _GMainFd::finalize) (GMainFd *)

finalize function

Definition at line 42 of file gmainfd.h.

Referenced by logsourcefd_new().

GPollFD _GMainFd::gfd

Poll/select object for gmainloop.

Definition at line 36 of file gmainfd.h.

int _GMainFd::gsourceid

Definition at line 39 of file gmainfd.h.

void(* _GMainFd::newtext) (GMainFd *, const char *, int)

Deal with newly read text.

Definition at line 40 of file gmainfd.h.

Referenced by logsourcefd_new().

gboolean(* _GMainFd::readmore) (GMainFd *self)

Read another chunk.

Definition at line 41 of file gmainfd.h.

GString* _GMainFd::textread

The text we've read so far.

Definition at line 37 of file gmainfd.h.

Referenced by _jsondiscovery_childwatch(), and check_output_at_exit().


The documentation for this struct was generated from the following file: