Ignore:
Timestamp:
Dec 18, 2014, 5:45:38 PM (10 years ago)
Author:
ldelgass
Message:

Add command line options to set I/O file descriptors, merge some refactoring to
prep for merging threading support.

Location:
nanovis/branches/1.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nanovis/branches/1.1

  • nanovis/branches/1.1/Command.h

    r4612 r4874  
    1212#define COMMAND_H
    1313
     14#include <unistd.h>
     15
    1416#include <tcl.h>
    1517
     
    1820}
    1921class Volume;
     22
     23namespace nv {
     24
     25class ReadBuffer;
     26
     27extern ssize_t SocketWrite(const void *bytes, size_t len);
     28
     29extern bool SocketRead(char *bytes, size_t len);
     30
     31extern int processCommands(Tcl_Interp *interp,
     32                           ReadBuffer *inBufPtr,
     33                           int fdOut);
     34
     35extern int handleError(Tcl_Interp *interp,
     36                       int status,
     37                       int fdOut);
     38
     39extern void initTcl(Tcl_Interp *interp, ClientData clientData);
    2040
    2141extern int GetAxisFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
     
    3050                           float *floatVal);
    3151
    32 extern int GetVolumeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
    33                             Volume **volume);
    34 
    35 extern Tcl_Interp *initTcl();
     52}
    3653
    3754#endif
Note: See TracChangeset for help on using the changeset viewer.