Changeset 879 for trunk/src/ash-messup/input.h
- Timestamp:
- Apr 21, 2007, 8:33:35 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ash-messup/input.h
r626 r879 47 47 extern int init_editline; /* 0 == not setup, 1 == OK, -1 == failed */ 48 48 49 char *pfgets( char *, int);50 int pgetc( void);51 int preadbuffer( void);52 void pungetc( void);53 void pushstring( char *, int, void *);54 void popstring( void);55 void setinputfile( const char *, int);56 void setinputfd( int, int);57 void setinputstring( char *, int);58 void popfile( void);59 void popallfiles( void);60 void closescript( int);49 char *pfgets(struct shinstance *, char *, int); 50 int pgetc(struct shinstance *); 51 int preadbuffer(struct shinstance *); 52 void pungetc(struct shinstance *); 53 void pushstring(struct shinstance *, char *, int, void *); 54 void popstring(struct shinstance *); 55 void setinputfile(struct shinstance *, const char *, int); 56 void setinputfd(struct shinstance *, int, int); 57 void setinputstring(struct shinstance *, char *, int); 58 void popfile(struct shinstance *); 59 void popallfiles(struct shinstance *); 60 void closescript(struct shinstance *, int); 61 61 62 #define pgetc_macro() (--p arsenleft >= 0? *parsenextc++ : preadbuffer())62 #define pgetc_macro() (--psh->parsenleft >= 0? *psh->parsenextc++ : preadbuffer(psh))
Note:
See TracChangeset
for help on using the changeset viewer.