Ignore:
Timestamp:
Feb 21, 2002, 8:24:22 PM (23 years ago)
Author:
umoeller
Message:

misc. updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/textv_html.c

    r91 r142  
    175175 */
    176176
    177 VOID AppendChar(PCOPYTARGET pct,  // in/out: formatting buffer
    178                 unsigned char c)
     177static VOID AppendChar(PCOPYTARGET pct,  // in/out: formatting buffer
     178                       unsigned char c)
    179179{
    180180    // calculate ofs where to store next char
     
    204204 */
    205205
    206 VOID AppendString(PCOPYTARGET pct,  // in/out: formatting buffer
    207                   char *ach)
     206static VOID AppendString(PCOPYTARGET pct,  // in/out: formatting buffer
     207                         char *ach)
    208208{
    209209    ULONG cbAppend = strlen(ach);
     
    240240 */
    241241
    242 VOID AppendLinebreakCheck(PCOPYTARGET pct)
     242static VOID AppendLinebreakCheck(PCOPYTARGET pct)
    243243{
    244244    if ((!pct->fPRE) && (pct->fNeedsLinebreak))
     
    267267 */
    268268
    269 VOID AppendEscapeWith3Decimals(PCOPYTARGET pct,  // in/out: formatting buffer
    270                                char *ach,
    271                                USHORT us)
     269static VOID AppendEscapeWith3Decimals(PCOPYTARGET pct,  // in/out: formatting buffer
     270                                      char *ach,
     271                                      USHORT us)
    272272{
    273273    CHAR szDecimal[10];
     
    286286 */
    287287
    288 VOID AppendEscapeWith4Decimals(PCOPYTARGET pct,  // in/out: formatting buffer
    289                                char *ach,
    290                                USHORT us)
     288static VOID AppendEscapeWith4Decimals(PCOPYTARGET pct,  // in/out: formatting buffer
     289                                      char *ach,
     290                                      USHORT us)
    291291{
    292292    CHAR szDecimal[10];
     
    314314 */
    315315
    316 VOID StartList(PCOPYTARGET pct,     // in/out: formatting buffer
    317                ULONG ulListType)    // list type:
    318                                     // 0: unordered (UL)
    319                                     // 1: ordered (OL)
    320                                     // 2: definition lists (DL)
     316static VOID StartList(PCOPYTARGET pct,     // in/out: formatting buffer
     317                      ULONG ulListType)    // list type:
     318                                           // 0: unordered (UL)
     319                                           // 1: ordered (OL)
     320                                           // 2: definition lists (DL)
    321321{
    322322    PLISTDESC pListDesc;
     
    361361 */
    362362
    363 VOID StopList(PCOPYTARGET pct)
     363static VOID StopList(PCOPYTARGET pct)
    364364{
    365365    if (pct->ulListLevel)
     
    414414 */
    415415
    416 VOID TagTITLE(PCOPYTARGET pct)
     416static VOID TagTITLE(PCOPYTARGET pct)
    417417{
    418418    // pSource currently points to <TITLE tag
     
    447447 */
    448448
    449 VOID TagP(PCOPYTARGET pct)
     449static VOID TagP(PCOPYTARGET pct)
    450450{
    451451    // append newline:
     
    464464}
    465465
    466 VOID TagBR(PCOPYTARGET pct)
     466static VOID TagBR(PCOPYTARGET pct)
    467467{
    468468    AppendChar(pct,
     
    482482}
    483483
    484 VOID TagPRE(PCOPYTARGET pct)
     484static VOID TagPRE(PCOPYTARGET pct)
    485485{
    486486    // start of PRE tag:
     
    507507}
    508508
    509 VOID TagXPRE(PCOPYTARGET pct)
     509static VOID TagXPRE(PCOPYTARGET pct)
    510510{
    511511    pct->fPRE = FALSE;
     
    527527}
    528528
    529 VOID TagH1(PCOPYTARGET pct)
     529static VOID TagH1(PCOPYTARGET pct)
    530530{
    531531    pct->fNeedsLinebreak = TRUE;
     
    537537}
    538538
    539 VOID TagXH1(PCOPYTARGET pct)
     539static VOID TagXH1(PCOPYTARGET pct)
    540540{
    541541    AppendString(pct,
     
    548548}
    549549
    550 VOID TagH2(PCOPYTARGET pct)
     550static VOID TagH2(PCOPYTARGET pct)
    551551{
    552552    pct->fNeedsLinebreak = TRUE;
     
    558558}
    559559
    560 VOID TagXH2(PCOPYTARGET pct)
     560static VOID TagXH2(PCOPYTARGET pct)
    561561{
    562562    AppendString(pct,
     
    569569}
    570570
    571 VOID TagH3(PCOPYTARGET pct)
     571static VOID TagH3(PCOPYTARGET pct)
    572572{
    573573    pct->fNeedsLinebreak = TRUE;
     
    579579}
    580580
    581 VOID TagXH3(PCOPYTARGET pct)
     581static VOID TagXH3(PCOPYTARGET pct)
    582582{
    583583    AppendString(pct,
     
    590590}
    591591
    592 VOID TagH4(PCOPYTARGET pct)
     592static VOID TagH4(PCOPYTARGET pct)
    593593{
    594594    pct->fNeedsLinebreak = TRUE;
     
    600600}
    601601
    602 VOID TagXH4(PCOPYTARGET pct)
     602static VOID TagXH4(PCOPYTARGET pct)
    603603{
    604604    AppendString(pct,
     
    611611}
    612612
    613 VOID TagH5(PCOPYTARGET pct)
     613static VOID TagH5(PCOPYTARGET pct)
    614614{
    615615    pct->fNeedsLinebreak = TRUE;
     
    621621}
    622622
    623 VOID TagXH5(PCOPYTARGET pct)
     623static VOID TagXH5(PCOPYTARGET pct)
    624624{
    625625    AppendString(pct,
     
    632632}
    633633
    634 VOID TagH6(PCOPYTARGET pct)
     634static VOID TagH6(PCOPYTARGET pct)
    635635{
    636636    pct->fNeedsLinebreak = TRUE;
     
    642642}
    643643
    644 VOID TagXH6(PCOPYTARGET pct)
     644static VOID TagXH6(PCOPYTARGET pct)
    645645{
    646646    AppendString(pct,
     
    653653}
    654654
    655 VOID TagUL(PCOPYTARGET pct)
     655static VOID TagUL(PCOPYTARGET pct)
    656656{
    657657    StartList(pct,
     
    659659}
    660660
    661 VOID TagXUL(PCOPYTARGET pct)
     661static VOID TagXUL(PCOPYTARGET pct)
    662662{
    663663    StopList(pct);
    664664}
    665665
    666 VOID TagOL(PCOPYTARGET pct)
     666static VOID TagOL(PCOPYTARGET pct)
    667667{
    668668    StartList(pct,
     
    670670}
    671671
    672 VOID TagXOL(PCOPYTARGET pct)
     672static VOID TagXOL(PCOPYTARGET pct)
    673673{
    674674    StopList(pct);
    675675}
    676676
    677 VOID TagLI(PCOPYTARGET pct)
     677static VOID TagLI(PCOPYTARGET pct)
    678678{
    679679    PLISTDESC pListDesc;
     
    709709}
    710710
    711 VOID TagDL(PCOPYTARGET pct)
     711static VOID TagDL(PCOPYTARGET pct)
    712712{
    713713    StartList(pct,
     
    715715}
    716716
    717 VOID TagXDL(PCOPYTARGET pct)
     717static VOID TagXDL(PCOPYTARGET pct)
    718718{
    719719    StopList(pct);
     
    721721}
    722722
    723 VOID TagDT(PCOPYTARGET pct)
     723static VOID TagDT(PCOPYTARGET pct)
    724724{
    725725    pct->fNeedsLinebreak = TRUE;
     
    727727}
    728728
    729 VOID TagDD(PCOPYTARGET pct)
     729static VOID TagDD(PCOPYTARGET pct)
    730730{
    731731    pct->fNeedsLinebreak = TRUE;
     
    736736}
    737737
    738 VOID TagTR(PCOPYTARGET pct)
     738static VOID TagTR(PCOPYTARGET pct)
    739739{
    740740    pct->fNeedsLinebreak = TRUE;
    741741}
    742742
    743 VOID TagB(PCOPYTARGET pct)
     743static VOID TagB(PCOPYTARGET pct)
    744744{
    745745    AppendString(pct,
     
    747747}
    748748
    749 VOID TagXB(PCOPYTARGET pct)
     749static VOID TagXB(PCOPYTARGET pct)
    750750{
    751751    AppendString(pct,
     
    753753}
    754754
    755 VOID TagI(PCOPYTARGET pct)
     755static VOID TagI(PCOPYTARGET pct)
    756756{
    757757    AppendString(pct,
     
    759759}
    760760
    761 VOID TagXI(PCOPYTARGET pct)
     761static VOID TagXI(PCOPYTARGET pct)
    762762{
    763763    AppendString(pct,
     
    765765}
    766766
    767 VOID TagU(PCOPYTARGET pct)
     767static VOID TagU(PCOPYTARGET pct)
    768768{
    769769    AppendString(pct,
     
    771771}
    772772
    773 VOID TagXU(PCOPYTARGET pct)
     773static VOID TagXU(PCOPYTARGET pct)
    774774{
    775775    AppendString(pct,
     
    777777}
    778778
    779 VOID TagSTRIKE(PCOPYTARGET pct)
     779static VOID TagSTRIKE(PCOPYTARGET pct)
    780780{
    781781    AppendString(pct,
     
    783783}
    784784
    785 VOID TagXSTRIKE(PCOPYTARGET pct)
     785static VOID TagXSTRIKE(PCOPYTARGET pct)
    786786{
    787787    AppendString(pct,
     
    789789}
    790790
    791 VOID TagCODE(PCOPYTARGET pct)
     791static VOID TagCODE(PCOPYTARGET pct)
    792792{
    793793    AppendEscapeWith3Decimals(pct,
     
    796796}
    797797
    798 VOID TagXCODE(PCOPYTARGET pct)
     798static VOID TagXCODE(PCOPYTARGET pct)
    799799{
    800800    AppendEscapeWith3Decimals(pct,
     
    803803}
    804804
    805 VOID TagA(PCOPYTARGET pct)
     805static VOID TagA(PCOPYTARGET pct)
    806806{
    807807    CHAR    szAnchor[10];
     
    875875}
    876876
    877 VOID TagXA(PCOPYTARGET pct)
     877static VOID TagXA(PCOPYTARGET pct)
    878878{
    879879    if (pct->fInLink)
     
    899899 */
    900900
    901 PFNPROCESSTAG FindTagProcessor(PSZ pszTag)
     901static PFNPROCESSTAG FindTagProcessor(PSZ pszTag)
    902902{
    903903    PFNPROCESSTAG pProcessor = NULL;
     
    12701270 */
    12711271
    1272 VOID HandleTag(PCOPYTARGET pct)
     1272static VOID HandleTag(PCOPYTARGET pct)
    12731273{
    12741274    PSZ     pStartOfTag = pct->pSource;
     
    14251425 */
    14261426
    1427 unsigned char ConvertEscape(PSZ pszTag)
     1427static unsigned char ConvertEscape(PSZ pszTag)
    14281428{
    14291429    CHAR c0, c1;
     
    18821882 */
    18831883
    1884 VOID HandleEscape(PCOPYTARGET pct)
     1884static VOID HandleEscape(PCOPYTARGET pct)
    18851885{
    18861886    // ampersand:
Note: See TracChangeset for help on using the changeset viewer.