Skip to content
Snippets Groups Projects
Commit 0eb24509 authored by mh17's avatar mh17
Browse files

file created from fileServer_P.h; file replaced by pipe

parent 0fcaf96a
No related branches found
No related tags found
No related merge requests found
/* File: pipeServer_P.h
* Author: Malcolm Hinsley (mh17@sanger.ac.uk)
* derived from fileServer_p.h by Ed Griffiths (edgrif@sanger.ac.uk)
* Copyright (c) 2006: Genome Research Ltd.
*-------------------------------------------------------------------
* ZMap 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* or see the on-line version at http://www.gnu.org/copyleft/gpl.txt
*-------------------------------------------------------------------
* This file is part of the ZMap genome database package
* originated by
* Ed Griffiths (Sanger Institute, UK) edgrif@sanger.ac.uk,
* Rob Clack (Sanger Institute, UK) rnc@sanger.ac.uk
*
* Description: Defines/types etc. for the file accessing version
* of the server code.
*
* HISTORY:
* Created: Thu Nov 26 10:30:21 2009 (mh17)
* CVS info: $Id: pipeServer_P.h,v 1.1 2009-11-26 12:18:47 mh17 Exp $
*-------------------------------------------------------------------
*/
#ifndef PIPE_SERVER_P_H
#define PIPE_SERVER_P_H
#define PIPE_PROTOCOL_STR "GFF Pipe" /* For error messages. */
/* Holds all the state we need to create and access the script output. */
typedef struct _PipeServerStruct
{
gchar *script_path ; // where our configured script is
GIOChannel* gff_pipe ; // the pipe we read the script's output from
char *styles_file ;
gboolean error ; /* TRUE if any error occurred. */
char *last_err_msg ;
ZMapFeatureContext req_context ;
} PipeServerStruct, *PipeServer ;
#endif /* !FILE_SERVER_P_H */
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment