The Assimilation Project  based on Assimilation version 1.1.7.1474836767
logsourcefd.c File Reference

Implements a gmainloop source for logging file descriptor contents. More...

#include <projectcommon.h>
#include <gmainfd.h>
#include <logsourcefd.h>
#include <string.h>
Include dependency graph for logsourcefd.c:

Go to the source code of this file.

Functions

FSTATIC void logsourcefd_newtext (GMainFd *fdself, const char *string, int len)
 Just stash away our new string - appending to what's already there. More...
 
FSTATIC void logsourcefd_finalize (GMainFd *fdself)
 LogSourceFd class. finalize routine More...
 
LogSourceFdlogsourcefd_new (gsize cpsize, int fd, int priority, GMainContext *context, const char *logdomain, GLogLevelFlags loglevel, const char *prefix)
 Construct a new LogSourceFd class. object and return it. More...
 

Detailed Description

Implements a gmainloop source for logging file descriptor contents.

This class implements a base class for reading file descriptor pipes and logging whatever we've read. It is notable that this class is not a subclass of AssimObj class.

Author
Copyright © 2013 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
This file is part of the Assimilation Project. The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file logsourcefd.c.