4
/* Allan CORNET 2004 */
13
#include "../stack-c.h"
21
#include "../wsci/wcommon.h" /* for BOOL */
24
extern char *getenv();
34
extern void write_scilab __PARAMS((char *s));
35
/*-----------------------------------------------------------------------------------*/
37
/*-----------------------------------------------------------------------------------*/
45
/*-----------------------------------------------------------------------------------*/
46
extern sci_hist *history ; /* no history yet */
47
extern sci_hist *cur_entry;
48
/* Use for SearchInHistory --> ! */
49
extern sci_hist *research_knot_last;
50
extern BOOL NewSearchInHistory; /* rlgets wsci\command.c */
51
/*-----------------------------------------------------------------------------------*/
52
char *ASCIItime(const struct tm *timeptr);
53
void GetCommentDateSession(char *line,int BeginSession);
54
void AddHistory (char *line);
55
sci_hist * SearchBackwardInHistory(char *line); /* Effectue la recherche via ! dans l'historique*/
56
sci_hist * SearchForwardInHistory(char *line); /* Effectue la recherche via ! dans l'historique*/
57
/*-----------------------------------------------------------------------------------*/
58
sci_hist * GoFirstKnot(sci_hist * CurrentKnot);
59
sci_hist * GoLastKnot(sci_hist * CurrentKnot);
60
sci_hist * GoPrevKnot(sci_hist * CurrentKnot);
61
sci_hist * GoNextKnot(sci_hist * CurrentKnot);
63
/*-----------------------------------------------------------------------------------*/
64
int C2F(resethistory) _PARAMS((char *fname));
65
void reset_history(void);
66
int C2F(loadhistory) _PARAMS((char *fname));
67
int C2F(savehistory) _PARAMS((char *fname));
68
int C2F(gethistory) _PARAMS((char *fname)); /* Affiche le contenu de l'historique */
69
int CreSmatFromHist(char *fname, int number, sci_hist *Parcours);
70
/*-----------------------------------------------------------------------------------*/