Lines Matching defs:history
138 void MPPC_InitCompressionHistory(char *history)
140 struct MPPC_comp_state *state = (struct MPPC_comp_state*)history;
142 bzero(history, sizeof(struct MPPC_comp_state));
146 int MPPC_Compress(u_char **src, u_char **dst, u_long *srcCnt, u_long *dstCnt, char *history, int flags, int undef)
148 struct MPPC_comp_state *state = (struct MPPC_comp_state*)history;
174 /* check if there is enough room at the end of the history */
180 /* Add packet to the history. */
197 p -= MPPE_HIST_LEN; /* Try previous history buffer. */
286 /* If result is bigger then original, set flag and flush history. */
290 bzero(history, sizeof(struct MPPC_comp_state));