11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

static sc_buf_t * SMLOCAL mb_getscbuf PROTO((scr_data_t *,int));static void SMLOCAL mb_free_sc_bufs PROTO((sc_buf_t *));int sm_mbscroll (as_ptr, option) altsc_t *as_ptr;int option;{switch (option){case AS_INIT_FUNC:return mb_initscr (as_ptr);case AS_GDATA_FUNC:return mb_getitem (as_ptr);case AS_PDATA_FUNC:return mb_putitem (as_ptr);case AS_INSRT_FUNC:return mb_insitem (as_ptr);case AS_DLT_FUNC:return mb_delitem (as_ptr);case AS_GTSPC_FUNC:return mb_setluid (as_ptr);}case AS_RLS_FUNC:return mb_rlsscrl (as_ptr);default:return 1;}static int SMLOCALmb_initscr (as_ptr)altsc_t *as_ptr;{scr_data_t *scr_data;int retcode;scr_data = (scr_data_t *) sm_fmalloc (sizeof /(scr_data_t));if (scr_data && as_ptr->len > 0){scr_data->first_buff = 0;scr_data->cur_buff = 0;scr_data->i_per_buff =<strong>Upgrade</strong> <strong>Guide</strong> A-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!