|
|
1.1 ! root 1: ! 2: /******************************************************************************\ ! 3: * This is a part of the Microsoft Source Code Samples. ! 4: * Copyright (C) 1993 Microsoft Corporation. ! 5: * All rights reserved. ! 6: * This source code is only intended as a supplement to ! 7: * Microsoft Development Tools and/or WinHelp documentation. ! 8: * See these sources for detailed information regarding the ! 9: * Microsoft samples programs. ! 10: \******************************************************************************/ ! 11: ! 12: /* ! 13: * SECTION.H ! 14: */ ! 15: ! 16: /* handle to a section */ ! 17: typedef struct section FAR * SECTION; ! 18: ! 19: ! 20: SECTION section_new(LINE first, LINE last, LIST list); ! 21: void section_delete(SECTION section); ! 22: BOOL section_match(SECTION section1, SECTION section2); ! 23: LINE section_getfirstline(SECTION section); ! 24: LINE section_getlastline(SECTION section); ! 25: SECTION section_getlink(SECTION section); ! 26: SECTION section_getcorrespond(SECTION section); ! 27: void section_setstate(SECTION section, int state); ! 28: int section_getstate(SECTION section); ! 29: int section_getlinecount(SECTION section); ! 30: int section_getleftbasenr(SECTION section); ! 31: int section_getrightbasenr(SECTION section); ! 32: LIST section_makelist(LIST linelist, BOOL left); ! 33: void section_deletelist(LIST sections); ! 34: LIST section_makecomposite(LIST secsleft, LIST secsright); ! 35: BOOL section_matchlists(LIST secsleft, LIST secsright); ! 36: ! 37: ! 38:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.