;
; Module definition file for pcpine 3.xx
;
; mikes, 920822
;
;
; Here we're just specifying obvious functions to place in 
; overlays:
;
NAME pine

;
; arg parsing...
;
FUNCTIONS:1 _pine_args _decode_sort _parg _args_help _stoi _dump_new_pinerc
            _first_sorted_unread

;
; main menu functions...
;
FUNCTIONS:2 _main_menu_screen _show_main_screen _do_menu _quit_screen
            _paint_keyhelp _count_deleted _mouse_in_main

;
; mail index functions
;
FUNCTIONS:3 _mail_index_screen _mouse_in_index _index_lister
FUNCTIONS:4 _do_index_border _redraw_index_body _top_ent_calc 
            _update_index _update_mess_status
FUNCTIONS:5 _build_header_line _clear_index_cache _clear_index_cache_ent
            _get_index_cache _i_cache_size _i_cache_hit _icread _icwrite
            _i_cache_width _build_header_cache _flush_index_cache
            _status_string _line_hash
FUNCTIONS:6 _sort_blip _compare_subjects _compare_subjects2
            _second_subject_sort _subject_cache_ent
            _clear_subject_cache _init_subject_cache
            _get_sub _compare_to _compare_from
            _compare_cc _compare_message_dates _convert_to_gmt _days_in_month
            _compare_size _sort_current_folder _sort_name _compare_arrival
            _compare_dates _compare_subject_2

;
; main menu functions...
;
FUNCTIONS:8 _mail_view_screen _decode_text _match_iso2022
FUNCTIONS:9 _format_message _zero_atmts 
            _find_field _xmail_fetchheader_lines
FUNCTIONS:10 _describe_mime _format_mime_size _mime_show _type_desc _part_desc
FUNCTIONS:11 _body_type_names _message_puts  _match_charset _format_envelope 
FUNCTIONS:12 _display_parameters
FUNCTIONS:13 _scrolltool _set_scroll_text _redraw_scroll_text 
	     _scroll_scroll_text _BeginScroll _update_titlebar_lpercent
             _zero_scroll_text _update_titlebar_percent _forward_text
FUNCTIONS:14 _end_scroll_text _format_scroll_text
             _get_scroll_text_lines
FUNCTIONS:15 _ScrollFile _make_file_index
             _search_text _search_scroll_text

;
; Various command functions
;
FUNCTIONS:16 _process_cmd _cmd_flag _cmd_delete _cmd_undelete
             _build_selected_sequence _build_sequence _pseudo_selected
             _dec_lflagged _folder_has_recent _next_folder _restore_selected
FUNCTIONS:17 _cmd_save _save _default_save_context _cmd_export
             _create_for_save _context_copy
             _mail_copy _map_copy _dawz_copy _dawz_copy_messages
             _nntp_copy _bezrkdos_copy_messages _bezrkdos_copy
             _tenexdos_copy_messages _tenexdos_copy
             _dummy_copy _get_uname
FUNCTIONS:18 _aggregate_select _select_number _select_text _select_flagged
             _select_date _apply_command
FUNCTIONS:19 _cmd_take_addr _eliminate_dups_and_us _dup_addrs
             _takeaddr_screen _takeaddr_screen_redrawer_listmode
             _takeaddr_screen_redrawer_singlemode _ta_take_marked_addrs
             _ta_take_single_addr _ta_unmark_all _ta_mark_all
             _fill_in_ta _copyaddr _first_taline _free_taline
             _free_list_of_checked _is_talist_of_one
             _list_of_checked _update_takeaddr_screen
FUNCTIONS:20 _jump_to
FUNCTIONS:21 _broach_folder _folder_complete _do_broach_folder
             _sorted_msgno _first_sorted_flagged
FUNCTIONS:22 _expunge_and_close _closest_not_deleted _count_seen_not_deleted
             _context_close _mail_close _map_close _dawz_close
             _nntp_close _bezrkdos_close _tenexdos_close _dummy_close

FUNCTIONS:23 _search_headers
FUNCTIONS:24 _cmd_print
FUNCTIONS:25 _select_sort
; attachment screen code
FUNCTIONS:26 _attachment_screen _attachment_screen_updater _first_attline
             _new_attline _free_attline _attachment_screen_redrawer
             _save_attachment _display_attachment _run_viewer _exec_mailcap_cmd
             _display_text_att _display_msg_att

;
; folder management functions...
;
FUNCTIONS:27 _folder_screen _folders_for_fcc _folder_lister _find_folder
             _redraw_folder_screen _display_folder _paint_folder_name
             _off_folder_display _create_folder_display
FUNCTIONS:29 _find_folders_in_context _free_folders_in_context 
             _context_mailbox _mm_mailbox _context_bboard _mm_bboard
             _context_fqn_to_an _folder_delete _folder_insert
             _folder_insert_index _folder_entry _folder_is_nick
             _folder_total _find_folder_list _free_folder_list _folder_index 
             _blat_folders _free_folders _sort_folder_list
             _folder_exists _folder_list_entry _new_folder_list
FUNCTIONS:30 _compare_folders _compare_folders_new _compare_sizes 
             _compare_names _compare_lengths _group_subscription
             _clear_new_groups _search_folder_list
             _ctime2nntp
FUNCTIONS:31 _add_new_folder _context_create _mail_create _map_create
             _dawz_create _nntp_create _bezrkdos_create 
             _tenexdos_create _dummy_create
FUNCTIONS:32 _rename_folder _context_rename _mail_rename _map_rename 
             _dawz_rename _nntp_rename 
             _bezrkdos_rename _tenexdos_rename _dummy_rename
FUNCTIONS:33 _delete_folder _context_delete _mail_delete _map_delete
             _dawz_delete _nntp_delete _bezrkdos_delete
             _tenexdos_delete _dummy_delete
FUNCTIONS:34 _print_folders
FUNCTIONS:35 _search_folders

;
; address book management functions...
; !!!! separate view from lookup text !!!!
FUNCTIONS:36 _dlc_mgr _dlc_next _dlc_prev _dlcs_from_same_abe
             _done_with_dlc_cache _flush_dlc_from_cache _funny_compare_dlcs
             _get_global_bottom_dlc _get_global_top_dlc _initialize_dlc_cache
             _matching_dlcs _warp_to_beginning _warp_to_dlc _warp_to_end
             _listmem _free_cache_array
             _get_bottom_dl_of_adrbk _get_first_dl_of_adrbk
FUNCTIONS:37 _addr_book _display_book _redraw_addr_screen
             _do_edit_cmd _change_address _change_comment
             _change_fcc _change_fullname _change_nickname
             _edit_a_field _edit_address _edit_comment _edit_fcc
             _edit_fullname _edit_nickname _any_addrs_avail
             _calculate_field_widths _cur_addr_book _get_dlc _dlc_from_listmem
             _paint_line _entry_is_clickable _just_update_lookup_file
             _dump_a_dlc_to_debug _dump_some_debugging
FUNCTIONS:38 _get_adrbk _adrbk_count _init_addr_disp _end_adrbk _adrbk_get
             _end_adrbks
FUNCTIONS:39 _expand_address _addr_list_string _addr_string
             _address_is_us _build_address_internal _est_size
FUNCTIONS:40 _init_abook _adrbk_open _adrbk_close _get_timestamp_from_disk
             _adrbk_partial_close _init_ab_if_needed _init_addrbooks
             _build_incore_hash_from_ondisk_hash _first_selectable_line
             _line_is_selectable _rebuild_ondisk_hash_from_addrbook
             _skip_to_next_addr _skip_to_next_nickname _valid_hfile
             _ok_to_blast_it
FUNCTIONS:41 _addrbk_get _adrbk_write _write_hash_header
             _write_hash_table _write_hash_trailer _hashtable_size
             _write_single_entryref _init_adrhash_array
FUNCTIONS:42 _adrbk_listadd _adrbk_listdel _adrbk_delete _adrbk_add
FUNCTIONS:43 _adrbk_formatname _adrbk_newentry _adrbk_clearrefs
FUNCTIONS:44 _ab_compose_to_addr _ab_goto_folder _ab_hash _ab_print
             _ab_resize _ab_uid _ab_whereis _add_abook_entry _addr_to_abe
             _addrbook_reset _adrbk_access _adrbk_get_ae _adrbk_get_entryref
             _get_entryref_line_from_disk _init_ae_entry _length_of_entry
FUNCTIONS:45 _adrbk_lookup_by_addr _completely_done_with_adrbks
             _adrbk_lookup_by_nick _adrbk_lookup_with_opens_by_nick
             _adrbk_nlistadd _adrbk_num_from_lineno
             _adrbk_set_nominal_cachesize
FUNCTIONS:46 _cmp_addr _compare_nicks _compare_addr_ents _sort_addr_list
FUNCTIONS:47 _adrbk_sort _cmp_cntr_by_full _cmp_cntr_by_full_lists_last
             _cmp_cntr_by_nick _cmp_cntr_by_nick_lists_last
             _get_sort_rule_from_disk
             _adrbk_is_in_sort_order _init_sorting_status_message
             _adrbk_get_nominal_cachesize _set_inserted_entryref
             _sorting_status_message
FUNCTIONS:48 _addr_book_delete _add_add _addr_to_list _change_address_entry
             _create_list _find_in_book _search_book _next_line _next_field
             _prev_line _prev_field _addr_add _addr_lookup
             _warn_bad_addr _illegal_chars _fill_in_dl_field
             _search_in_one_line
FUNCTIONS:49 _set_moved_entryref _init_entryref_cache _clear_entryref_cache
             _clearrefs_in_cached_aes
             _cmp_ae_by_full _cmp_ae_by_full_lists_last _cmp_ae_by_nick
             _cmp_ae_by_nick_lists_last
             _ae _free_ae _free_ab_adrhash _free_ab_entryref
             _dlist
FUNCTIONS:50 _address_is_same  _create_abook_entry _create_abook_list
             _check_for_addrbook _use_this_addrbook _setup_for_addrbook_add

;
; help functions...
;
FUNCTIONS:51 _helper _get_help_text _free_help_text _copy_fix_keys
             _close_help_reference _gripe _dump_config _dump_pine_struct
FUNCTIONS:52 _print_all_help

;
; composer functions...
;
FUNCTIONS:53 _InitMailHeader _InitEntryText _sgetline
             _ArrangeHeader _edinit _func_init _breplace _pico_replace
             _insline _first_hline
FUNCTIONS:54 _ResizeHeader _HeaderOffset _HeaderFocus
FUNCTIONS:55 _AskAttach _SyncAttach _ParseAttach _NewAttach _ZotAttach
             _intag _fixpath
;FUNCTIONS:55 _HeaderEditor _LineEdit
FUNCTIONS:56 _HeaderEditor _LineEdit _call_builder _valid_subject
             _FormatLines _PaintHeader _PaintBody _ShowPrompt
             _ToggleHeader _HeaderLen _break_point
             _UpdateHeader _header_downline _header_upline
             _NewTop _display_delimiter _InvertPrompt _partial_entries
;FUNCTIONS:56 _LineEdit 
;FUNCTIONS:57 _FormatLines _PaintHeader _PaintBody _ShowPrompt
;             _ToggleHeader _HeaderLen _break_point
;FUNCTIONS:58 _UpdateHeader
;	     _NewTop _display_delimiter _InvertPrompt _partial_entries
FUNCTIONS:58 _ComposerHelp _strend _strqchr _KillHeaderLine
             _SaveHeaderLines _hldelete _zotcomma
FUNCTIONS:59 _packbuf _packheader _zotheader _zotentry _zotedit
             _zotdisplay _zotbuf
             _quickexit _wquit _suspend_composer _abort_composer
             _AttachError _swapimark

;
; searching functions
;
FUNCTIONS:60 _forwsearch _readpattern _forscan _expandp

;
; browser functions
;
FUNCTIONS:61 _FileBrowse 
FUNCTIONS:62 _PaintCell _PaintBrowser _BrowserKeys
             _PlaceCell _layoutcells _BrowserAnchor
FUNCTIONS:63 _FindCell _sisin _compresspath
FUNCTIONS:64 _getfcells _zotfcells _zotmaster _ResizeBrowser _getfnames
             _homeless _sstrcasecmp

;
; file i/o functions
;
FUNCTIONS:65 _fileread _insfile _readin _ifile
FUNCTIONS:66 _filewrite _filesave _writeout _writetmp _filename

;
; composer display functions
;
FUNCTIONS:67 _vtinit _vttidy _vtmove _vtputc _vtpute _movecursor
FUNCTIONS:68 _execute _update _updateline _updext _modeline _showCompTitle
             _entry_line
FUNCTIONS:69 _mlerase _mlyesno _mlreply _mlreplyd _emlwrite _mlwrite _mlputs 
             _ctrlg _dumblroot _dumbroot
FUNCTIONS:70 _mlputi _mlputli _resize_pico _wkeyhelp _wstripe
             _worthit _doton

;
; c-client functions
;
FUNCTIONS:71 _context_open _mail_open _map_open _dawz_open _nntp_mopen 
             _bezrkdos_open _tenexdos_open _dummy_open
             _mm_login _imap_user _imap_get_passwd _imap_set_passwd
             _imap_flush_passwd_cache _xlate_in _xlate_out _passfile_name
             _read_passfile _write_passfile _get_passfile_passwd
             _set_passfile_passwd
             _mail_link _passfile _xsum
FUNCTIONS:72 _mail_fetchfast _map_fetchfast _dawz_fetchfast _nntp_fetchfast
             _bezrkdos_fetchfast _tenexdos_fetchfast _dummy_fetchfast
             _mail_fetchstructure _map_fetchstructure _dawz_fetchstructure
             _nntp_fetchstructure
             _bezrkdos_fetchstructure _tenexdos_fetchstructure
             _dummy_fetchstructure 
FUNCTIONS:73 _mail_gc _map_gc _dawz_gc _nntp_gc _map_gc_body
             _bezrkdos_gc _tenexdos_gc _dummy_gc
             _mail_parameters _map_parameters _dawz_parameters _nntp_parameters
             _bezrkdos_parameters _tenexdos_parameters _dummy_parameters
FUNCTIONS:74 _mail_fetchbody _map_fetchbody _dawz_fetchbody _nntp_fetchbody
             _tenexdos_fetchbody _bezrkdos_fetchbody  _dummy_fetchbody
             _mail_fetchheader _map_fetchheader _dawz_fetchheader
             _nntp_fetchheader _bezrkdos_fetchheader _tenexdos_fetchheader
             _dummy_fetchheader _dawz_header
             _mail_fetchtext _map_fetchtext _dawz_fetchtext _nntp_fetchtext
             _bezrkdos_fetchtext _tenexdos_fetchtext _dummy_fetchtext
FUNCTIONS:75 _mail_search _map_search _dawz_search _nntp_search
             _bezrkdos_search _tenexdos_search _dummy_search
FUNCTIONS:76 _mail_expunge _map_expunge _dawz_expunge _nntp_expunge 
             _bezrkdos_expunge _tenexdos_expunge _dummy_expunge

             _context_append_full _mail_append_full
             _context_append _mail_append _map_append _dawz_append _nntp_append
             _tenexdos_append _bezrkdos_append _bezrkdos_putc
             _bezrkdos_append_putc _dummy_append
             _mail_move _map_move _dawz_move _nntp_move _bezrkdos_move
             _tenexdos_move _dummy_move
             _dawz_string_init _dawz_string_next _dawz_string_setpos

FUNCTIONS:77 _expand_foldername _fnexpand _mime_can_display
             _mailcap_can_display _mailcap_build_command _mailcap_get_command


FUNCTIONS:78 _init_vars _init_init_vars _expand_variables _init_username
             _init_hostname _read_pinerc _write_pinerc _process_feature_list
             _process_init_cmds _parse_list _set_variable_list
             _new_version_announce _first_time_user _read_xtable
             _set_current_val _set_feature_list_current_val
             _set_old_growth_bits _test_old_growth_bits _get_user_info

FUNCTIONS:79 _dump_global_conf _set_variable _init_mail_dir _is_writable_dir
FUNCTIONS:80 _compare_sm_files _get_sent_mail_list _context_string
             _expire_sent_mail _delete_old_sent_mail _prune_folders
             _delete_old_mail _get_mail_list

; generic filter routines.  first overlay maintenance code
FUNCTIONS:81 _gf_filter_init _gf_link_filter _so_get _so_give
             _create_tmpfile _so_seek _so_release _so_reaquire _so_text
             _gf_set_so_readc _gf_set_so_writec _gf_set_readc _gf_set_writec
             _gf_set_terminal _fget_pos _gf_terminal
             
; second overlay contains all the action while pipe running
FUNCTIONS:82 _detach _gf_error _so_readc _so_writec _so_puts
             _gf_freadc _gf_fwritec _gf_so_readc _gf_so_writec _gf_sreadc
             _gf_swritec
             _gf_8bit_default _gf_8bit_put _gf_8bit_put_quote _gf_8bit_qp
             _gf_b64_binary _gf_binary_b64 _gf_enriched2plain
             _gf_enriched2plain_opt _gf_local_nvtnl _gf_nvtnl_local
             _gf_prefix _gf_prefix_opt _gf_qp_8bit _gf_qp_default
             _gf_rich2plain _gf_rich2plain_opt _gf_translate _gf_translate_opt
             _gf_wrap _gf_wrap_filter_opt _gf_busy _gf_play_sound

FUNCTIONS:83 _setup_mini_menu _do_setup_task _lock_keyboard _news_screen
             _select_printer _redraw_printer_select _change_passwd
             _redraw_kl_body _redraw_klocked_body _draw_klocked_body
             

;
; string functions
;
FUNCTIONS:84 _rplstr _sqzspaces _strucmp _struncmp _srchstr _strindex
             _strrindex _strcat_nocr _sstrcpy _crlf2lf _month_abbrev
             _month_num _sinserts _removing_leading_white_space
             _removing_trailing_white_space _last_cmpnt
FUNCTIONS:85 _parse_date
;FUNCTIONS:85 _rplstr _sqzspaces _strucmp _struncmp _srchstr _strindex
;FUNCTIONS:86 _strrindex _strcat_nocr _sstrcpy _crlf2lf _month_abbrev
;             _month_num
FUNCTIONS:86 _pretty_command _temp_file_name _comatose _byte_string 
             _enth_string _repeat_char _long2string _int2string _prettysz

;
; imap functions
;
FUNCTIONS:87 _mm_log _mm_dlog _mm_notify _mm_exists _mm_expunged
FUNCTIONS:88 _mm_diskerror

;
; status functions
;
FUNCTIONS:89 _display_message _messages_queued _output_message _Centerline
FUNCTIONS:90 _d_q_status_message _q_status_message _q_status_message1
             _q_status_message2 _q_status_message3 _q_status_message4
             _q_status_message7 _flush_status_messages _mark_status_dirty
             _pretty_fn
FUNCTIONS:91 _want_to _radio_buttons _radio_help _draw_radio_prompt
             _flush_input

FUNCTIONS:92 _dawz_search_all _dawz_search_answered _dawz_search_bcc
             _dawz_search_before _dawz_search_body _dawz_search_cc
             _dawz_search_date _dawz_search_deleted _dawz_search_flag
             _dawz_search_flagged _dawz_search_from _dawz_search_keyword
             _bezrkdos_search_all _bezrkdos_search_answered
             _bezrkdos_search_bcc _bezrkdos_search_before _bezrkdos_search_body
             _bezrkdos_search_cc _bezrkdos_search_date _bezrkdos_search_deleted
             _bezrkdos_search_flag _bezrkdos_search_flagged
             _bezrkdos_search_from _bezrkdos_search_keyword
             _bezrkdos_search_new _bezrkdos_search_old _bezrkdos_search_on
             _bezrkdos_search_recent _bezrkdos_search_seen
             _bezrkdos_search_since _bezrkdos_search_string
             _bezrkdos_search_subject _bezrkdos_search_text
             _bezrkdos_search_to _bezrkdos_search_unanswered
             _bezrkdos_search_undeleted _bezrkdos_search_unflagged
             _bezrkdos_search_unkeyword _bezrkdos_search_unseen
FUNCTIONS:93 _dawz_search_new _dawz_search_old _dawz_search_on
             _dawz_search_recent _dawz_search_seen _dawz_search_since
             _dawz_search_string _dawz_search_subject _dawz_search_text
             _dawz_search_to _dawz_search_unanswered _dawz_search_undeleted
             _dawz_search_unflagged _dawz_search_unkeyword _dawz_search_unseen
             _tenexdos_search_all _tenexdos_search_answered
             _tenexdos_search_bcc _tenexdos_search_before _tenexdos_search_body
             _tenexdos_search_cc _tenexdos_search_date _tenexdos_search_deleted
             _tenexdos_search_flag _tenexdos_search_flagged
             _tenexdos_search_from _tenexdos_search_keyword
             _tenexdos_search_new _tenexdos_search_old _tenexdos_search_on
             _tenexdos_search_recent _tenexdos_search_seen
             _tenexdos_search_since _tenexdos_search_string
             _tenexdos_search_subject _tenexdos_search_text _tenexdos_search_to
             _tenexdos_search_unanswered _tenexdos_search_undeleted
             _tenexdos_search_unflagged _tenexdos_search_unkeyword
             _tenexdos_search_unseen

;
; send related functions
;
FUNCTIONS:94 _pine_send _call_mailer _check_addresses _outgoing2strings
             _strings2outgoing _create_message_body _text_part
             _tidy_smtp_mess _pine_simple_send _mime_stats _mime_recur
             _file_type _set_mime_types _encode_bits
             _update_message_id _write_fcc _open_fcc _send_handoff
             _post_handoff _append_message2 _generate_message_id
             _free_customs _free_attachment_list _generate_from
             _view_as_rich _is_a_forbidden_hdr
FUNCTIONS:95 _compose_screen _compose_mail _redraft _simple_header_parse
             _customized_hdr_setup _get_dflt_custom_hdrs _is_a_std_hdr
             _count_custom_hdrs
FUNCTIONS:96 _cmd_forward _forward _get_signature
             _cmd_reply _reply _generate_reply_to _copy_parameters
             _fetch_contents _get_body_part_text _copy_body _copy_envelope
             _reply_delimiter _format_text_header _forward_delimiter
             _week_abbrev _pretty_newsgroup_string _pretty_addr_string
             _cmd_bounce _bounce _generate_in_reply_to _reply_cpy_adr
             _reply_subject _reply_match_adrs _forward_subject 
             _full_text_header _first_addr

;
; new mail notification
;
FUNCTIONS:98 _new_mail _new_mail_mess _check_point _reset_check_point
             _zero_new_mail_count _streams_died _pico_new_mail
             _time_to_check _mail_ping _dawz_ping _map_ping _nntp_ping
             _bezrkdos_ping _tenexdos_ping _dummy_ping
             _mail_check _dawz_check _map_check _nntp_check
             _bezrkdos_check _tenexdos_check _dummy_check _dawz_parse

;
; OS dependent stuff
;
FUNCTIONS:99 _file_size _is_writeable _create_mail_dir
              _rename_file _build_path _can_access
              _filter_filename _get_domainnames
FUNCTIONS:100 _simple_opendir _simple_readdir _simple_closedir
FUNCTIONS:101 _read_file
FUNCTIONS:102 _dos_gets _dos_gives
FUNCTIONS:103 _error_name _error_description

;
; Printer related stuff
;
FUNCTIONS:104 _have_printer _printer_ready _p_printer_error _send_printer
              _open_printer _close_printer _print_char _print_text
              _print_text1 _print_text2 _print_text3

;
; Titlebar and Keymenu routines
;
FUNCTIONS:105 _format_titlebar _redraw_titlebar _set_titlebar _update_titlebar
              _update_titlebar_message _update_del _update_titlebar_status
              _update_titlebar_page _push_titlebar_state _pop_titlebar_state
              _savebits _equalbits
FUNCTIONS:106 _output_keymenu _blank_keymenu _format_keymenu
              _redraw_keymenu _draw_keymenu

;
; MORE composer functions
;
FUNCTIONS:107 _gotobol _gotoeol _backchar _forwchar _gotobob _gotoeob
              _forwline _backline _getgoal 
FUNCTIONS:108 _forwpage _backpage _setmark _swapmark
FUNCTIONS:109 _lalloc _lfree _lchange _insspace _linsert _lnewline _geninsert
              _ldelete _ldelnewline
FUNCTIONS:110 _kdelete _kinsert _kremove _yank _killtext
FUNCTIONS:111 _pico_help _whelp _array_len _wscrollw _rebindfunc
FUNCTIONS:112 _setfillcol _showcpos _getccol _tab _newline _forwdel
              _backdel _getregion _markregion _killregion _copyregion
FUNCTIONS:113 _wrapword _joinlines _forwword _backword _inword
              _fillpara _gotobop _gotoeop

;
; Yet more pico related functions
;
FUNCTIONS:114 _namebuffer _itoa _addline _anycb _bfind _bclear
FUNCTIONS:115 _copy _makename
FUNCTIONS:116 _ffropen _ffputline _ffgetline _ffwopen _ffclose

;
; C-Client SMTP related functions
;
FUNCTIONS:117 _smtp_open _smtp_close _smtp_mail _smtp_rcpt _smtp_send
              _smtp_reply _smtp_fake _smtp_soutr _pine_rfc822_header
              _pine_smtp_mail _pine_encode_body _pine_rfc822_output
              _l_flush_net _l_putc  _pine_rfc822_output_body
              _pine_write_body_header _pine_free_body _pine_free_body_data
              _pine_free_body_part _smtp_nodebug _smtp_debug

FUNCTIONS:118 _rfc822_output _rfc822_output_body _rfc822_encode_body
;             _rfc822_header _rfc822_header_line _rfc822_address_line
              _rfc822_header_line _rfc822_address_line
              _rfc822_8bit _rfc822_binary 
              _my_rfc822_output _my_rfc822_output_body

FUNCTIONS:119 _context_find _mail_find _map_find _dawz_find _nntp_find
              _bezrkdos_find _tenexdos_find _dummy_find
              _context_find_all _mail_find_all _map_find_all _dawz_find_all
              _nntp_find_all _tenexdos_find_all
              _bezrkdos_find_all _dummy_find_all
              _context_find_bboards _mail_find_bboards _map_find_bboards 
              _dawz_find_bboards _nntp_find_bboards
              _bezrkdos_find_bboards _dummy_find_bboards
              _context_find_all_bboard _dummy_find_all_bboards
              _mail_find_all_bboard _map_find_all_bboards 
              _dawz_find_all_bboards _tenexdos_find_bboards
              _nntp_find_all_bboards

FUNCTIONS:120 _sm_subscribe _sm_unsubscribe _sm_read
              _context_subscribe _mail_subscribe _map_subscribe
              _dawz_subscribe _nntp_subscribe
              _bezrkdos_subscribe _tenexdos_subscribe _dummy_subscribe
              _context_unsubscribe _mail_unsubscribe _map_unsubscribe
              _dawz_unsubscribe _nntp_unsubscribe
              _bezrkdos_unsubscribe _tenexdos_unsubscribe _dummy_unsubscribe
              _mail_subscribe_bboard _map_subscribe_bboard
              _dawz_subscribe_bboard _nntp_subscribe_bboard 
              _bezrkdos_subscribe_bboard _dummy_subscribe_bboard
              _mail_unsubscribe_bboard _map_unsubscribe_bboard
              _dawz_unsubscribe_bboard _nntp_unsubscribe_bboard
              _tenexdos_subscribe_bboard _dummy_unsubscribe_bboard
              _nntp_read_sdb _nntp_update_sdb
              _news_group_selector _news_build _get_post_list

FUNCTIONS:121 _context_isambig _context_digest _context_apply
              _context_same_stream _same_stream _canonical_name
              _context_same_driver

FUNCTIONS:122 _ttopen _ttclose _bktoshell _ttflush _init_mouse
              _ibmopen _ibmclose _enter_text_mode _exit_text_mode
              _end_keyboard _end_signals _end_screen _end_tty_driver
              _alt_editor

FUNCTIONS:123 _GetKey _ttgetc _checkmouse _ctrlkey _specialkey _pico_mouse
              _enhanced_keybd _fallowc

FUNCTIONS:124 _register_mfunc _clear_mfunc _register_keys _register_key

FUNCTIONS:125 _nntp_search_all _nntp_search_answered _nntp_search_deleted
              _nntp_search_flagged _nntp_search_keyword _nntp_search_new
              _nntp_search_old _nntp_search_recent _nntp_search_seen
              _nntp_search_unanswered _nntp_search_undeleted 
              _nntp_search_unflagged _nntp_search_unkeyword _nntp_search_unseen
              _nntp_search_before _nntp_search_on _nntp_search_since 
              _nntp_msgdate _nntp_search_body _nntp_search_subject
              _nntp_search_text _nntp_search_bcc _nntp_search_cc
              _nntp_search_from _nntp_search_to _nntp_search_date
              _nntp_search_flag _nntp_search_string

FUNCTIONS:126 _mail_fetchflags _dawz_fetchflags _nntp_fetchflags
              _tenexdos_fetchflags _dummy_fetchflags _bezrkdos_fetchflags
              _map_fetchflags _mail_fetchfrom
              _mail_fetchsubject _mail_free_body _mail_free_body_data
              _mail_free_parameter _mail_free_body_part _mail_free_address
              _mail_free_envelope

FUNCTIONS:127 _get_system_fullname _get_system_homedir _get_system_login
              _get_system_passwd

FUNCTIONS:128 _init_screen _init_signals _init_save_defaults _init_keyboard
              _init_tty_driver _init_folders _init_driver _new_context
              _config_screen _set_ftype _mailcap_init _mailcap_process_file
              _mailcap_get_entry _mailcap_parse_command _get_pair
              _enhanced_keybrd _strclean _init_inbox_mapping

FUNCTIONS:129 _rfc822_header _rfc822_write_address _rfc822_address _rfc822_cat
              _rfc822_write_body_header _rfc822_default_subtype 
              _rfc822_parse_msg _rfc822_parse_content
              _rfc822_parse_content_header _rfc822_parse_adrlist
              _rfc822_parse_address _rfc822_parse_routeaddr 
              _rfc822_parse_addrspec _rfc822_parse_phrase _rfc822_parse_word
              _rfc822_cpy _rfc822_quote _rfc822_cpy_adr _rfc822_skipws
              _rfc822_date

FUNCTIONS:130 _imap_expunged _imap_fake _imap_host _imap_OK _imap_parse_address
              _imap_parse_adrlist _imap_parse_body _imap_parse_body_structure
              _imap_parse_data _imap_parse_envelope _imap_parse_flaglst
              _imap_parse_flags _imap_parse_number _imap_parse_prop
              _imap_parse_reply _imap_parse_string _imap_parse_unsolicited
              _imap_parse_user_flag _imap_reply _imap_searched _imap_send
              _imap_send_literal _strtok

FUNCTIONS:131 _dcreadb _dcwriteb _dchit _dcget _dos_cache _dumpmetacache

FUNCTIONS:132 _read_command _read_char _extended_code _optionally_enter
              _line_paint _validatekeys _while_waiting

FUNCTIONS:133 _mail_string_init _mail_string_next _mail_string_setpos
              _strcrlfcpy _strcrlflen _warn_other_cmds

FUNCTIONS:134 _mail_valid _mail_valid_net _mail_valid_net_parse _dawz_valid
              _dawz_isvalid _bezrkdos_isvalid _tenexdos_isvalid
              _dos_valid_from _map_valid _nntp_valid _dummy_valid
              _bezrkdos_parse _bezrkdos_valid _bezrkdos_valid_line
              _tenexdos_valid _tenexdos_parse

FUNCTIONS:135 _count_unseen _update_news_prefix

FUNCTIONS:136 _mail_newaddr _mail_newbody _mail_newbody_parameter
              _mail_newbody_part _mail_newenvelope _mail_initbody

FUNCTIONS:137 _mail_clearflag _map_clearflag _dawz_clearflag _nntp_clearflag
              _bezrkdos_clearflag _tenexdos_clearflag _dummy_clearflag
              _mail_setflag _map_setflag _dawz_setflag
              _nntp_setflag _bezrkdos_setflag _tenexdos_setflag
              _dummy_setflag
              _bezrkdos_getflags _tenexdos_getflags _dawz_getflags
              _nntp_getflags

FUNCTIONS:138 _apply_selection _apply_number _apply_date _apply_text
              _apply_flagged _mm_searched

FUNCTIONS:139 _cmd_pipe _pipe_message _pipe_attachment _open_system_pipe
              _close_system_pipe _display_system_pipe_output

FUNCTIONS:140 _msgno_init _msgno_add_raw _msgno_flush_raw _msgno_in_select
              _msgno_in_sort _msgno_first_flag _msgno_get_flag
              _msgno_set_flag _msgno_inc _msgno_dec

; config screen code
FUNCTIONS:141 _option_screen _update_option_screen _option_screen_redrawer
              _pretty_value _config_help _new_confline _first_confline
              _free_confline _text_tool _config_add_list _config_del_list_item
              _yesno_tool _checkbox_tool _toggle_feature_bit _test_feature
              _clear_feature _set_feature _radiobutton_tool

; new user/version screen code
FUNCTIONS:142 _new_user_or_version _phone_home _phone_home_blurb
              _truncated_listvars_warning _upgrade_old_postponed
              _var_in_pinerc

; cursor postition text output functions
FUNCTIONS:143 _MoveCursor _CursorUp _CursorDown _CursorRight _CursorLeft
              _Write_to_screen _Writechar _Newline _InsertChar _DeleteChar
              _PutLine0 _PutLine0n8b _PutLine1 _PutLine2 _PutLine3 _PutLine4
              _PutLine5 _Raw _Stripe0 _Stripe3
              _StartBold _EndBold _StartInverse _EndInverse
              _StartUnderline _EndUnderline _CleartoEOS
              _ScrollRegion _EndScroll _ClearScreen _CleartoEOLN

FUNCTIONS:144 _bezrkdos_size _bezrkdos_slurp _bezrkdos_string
              _bezrkdos_string_init _bezrkdos_string_next
              _bezrkdos_string_setpos
              _tenexdos_size _tenexdos_slurp _tenexdos_string
              _tenexdos_string_init _tenexdos_string_next
              _tenexdos_string_setpos
              _dawz_update_status _tenexdos_update_status
              _dawz_read _bezrkdos_read _tenexdos_read
              _dawz_string
              _dawz_badname _bezrkdos_badname _tenexdos_badname
              _bezrkdos_header _tenexdos_header

FUNCTIONS:145 _feature_list _save_msg_rules _ab_sort_rules _fcc_rules

; c-client support functions
FUNCTIONS:146 _mail_cdate _mail_date _mail_free_body_parameter
              _mail_debug _mail_elt _mail_exists _mail_expunged
              _mail_free_cache _mail_free_elt _mail_free_handle _mail_free_lelt
              _mail_lelt _mail_lock _mail_makehandle _mail_nodebug
              _mail_parse_date _mail_recent _mail_searched _mail_sequence
              _get_lflag _set_lflag

FUNCTIONS:147 _do_suspend

;;; unreferenced pine/c-client/pico functions
FUNCTIONS:148 _rfc822_base64 _rfc822_contents _rfc822_qprint
              _term_signal _stop_process _pfnexpand _P_close _P_open
              _coredump _fast_clean_up _first_checked _gotoline _logbase2
              _lowerregion _upperregion _read_binary_file _readbuf 
