home *** CD-ROM | disk | FTP | other *** search
- /*
- * (c) Copyright 1990, Kim Fabricius Storm. All rights reserved.
- *
- * Memory handling
- */
-
- /* article headers */
-
- article_number n_articles;
- article_header **articles;
-
-
- typedef struct thunk {
- char *this_thunk;
- struct thunk *next_thunk;
- long thunk_size;
- } thunk;
-
-
- typedef struct {
- thunk *sm_cur_t;
- int sm_size;
- char *sm_next;
- } string_marker;
-
-
- typedef struct {
- string_marker mm_string;
- thunk *mm_cur_t;
- int mm_size;
- article_header *mm_next;
- long mm_nart;
- } memory_marker;
-
-
- extern article_header *alloc_art();
- extern char *alloc_str();
-
- /* flags to access_group */
-
- #define ACC_ALSO_CROSS_POSTINGS FLAG(1) /* */
- #define ACC_DONT_SORT_ARTICLES FLAG(2) /* */
- #define ACC_DONT_SPLIT_DIGESTS FLAG(3) /* only full digest */
- #define ACC_ALSO_FULL_DIGEST FLAG(4) /* also full digest */
- #define ACC_EXTRA_ARTICLES FLAG(5) /* add to current menu */
- #define ACC_ALSO_READ_ARTICLES FLAG(6) /* */
- #define ACC_ONLY_READ_ARTICLES FLAG(7) /* unread are already collected */
- #define ACC_MERGED_MENU FLAG(8) /* set a_group field */
- #define ACC_ORIG_NEWSRC FLAG(9) /* get previously unread articles */
- #define ACC_VALIDATE_ONLY FLAG(10) /* don't save articles */
- #define ACC_SPEW_MODE FLAG(11) /* */
- #define ACC_ON_SENDER FLAG(12) /* match on sender (only) */
- #define ACC_ON_SUBJECT FLAG(13) /* match on subject (also) */
- #define ACC_DO_KILL FLAG(14) /* do auto-kill/select */
-