
| Current Path : /proc/thread-self/root/usr/include/gap/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //proc/thread-self/root/usr/include/gap/src/streams.h |
/**************************************************************************** ** *W streams.h GAP source Frank Celler *W & Burkhard Höfling (MAC) ** ** *Y Copyright (C) 1996, Lehrstuhl D für Mathematik, RWTH Aachen, Germany *Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland *Y Copyright (C) 2002 The GAP Group ** ** This file contains the various read-eval-print loops and streams related ** stuff. The system depend part is in "sysfiles.c". */ #ifndef GAP_STREAMS_H #define GAP_STREAMS_H #include "system.h" /**************************************************************************** ** *F * * * * * * * * * streams and files related functions * * * * * * * * * * */ /**************************************************************************** ** *F READ_AS_FUNC() . . . . . . . . . . . . . read current input as function ** ** Read the current input as function and close the input stream. */ extern Obj READ_AS_FUNC ( void ); /**************************************************************************** ** *F READ_GAP_ROOT( <filename> ) . . . read from gap root, dyn-load or static ** ** 'READ_GAP_ROOT' tries to find a file under the root directory, it will ** search all directories given in 'SyGapRootPaths', check dynamically ** loadable modules and statically linked modules. */ extern Int READ_GAP_ROOT ( const Char * filename ); // READ_ALL_COMMANDS reads a string of GAP statements and executes them // allowing to capture and process outputs extern Obj READ_ALL_COMMANDS(Obj instream, Obj echo, Obj capture, Obj resultCallback); /**************************************************************************** ** *F * * * * * * * * * * * * * initialize module * * * * * * * * * * * * * * * */ /**************************************************************************** ** *F InitInfoStreams() . . . . . . . . . . . . . . . . table of init functions */ StructInitInfo * InitInfoStreams ( void ); #endif // GAP_STREAMS_H