• src/smblib/smblib.h smbtxt.c

    From rswindell@VERT to CVS commit on Thu Nov 26 07:33:46 2015
    src/smblib smblib.h 1.70 1.71 smbtxt.c 1.19 1.20
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv21676

    Modified Files:
    smblib.h smbtxt.c
    Log Message:
    Long requested feature:
    smb_getmsgtxt() can now return *just* the plain-text part of a multipart MIME encoded message by setting the GETMSGTXT_PLAIN bit in the mode argument.
    This is useful for reading (many) MIME encoded emails via the Terminal server. The full MIME body text is left in place for those message viewing methods which can nicely handle (e.g. display) non-plain-text parts.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Mon Nov 27 03:29:56 2017
    src/smblib smblib.h 1.84 1.85 smbtxt.c 1.28 1.29
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/home/rswindell/sbbs/src/smblib

    Modified Files:
    smblib.h smbtxt.c
    Log Message:
    Support the decoding/downloading of multiple MIME attachments.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Apr 10 17:02:55 2019
    src/smblib smblib.h 1.89 1.90 smbtxt.c 1.34 1.35
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv28572

    Modified Files:
    smblib.h smbtxt.c
    Log Message:
    Added buffer (filename) overflow protection to smb_getattachment().



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Apr 10 18:10:52 2019
    src/smblib smblib.h 1.90 1.91 smbtxt.c 1.35 1.36
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv7913

    Modified Files:
    smblib.h smbtxt.c
    Log Message:
    Added smb_getcontenttype(): returns the MIME content-type of the message
    or NULL if not relevant (not a MIME-encoded message).
    Added smb_countattachments(): returns the number of file attachments in a MIME-encoded message.
    Added SMBMSGTXT_NO_TAILS definition to be used in place of '0' for
    common smb_getmsgtxt() mode argument value.
    The amount of white-space after "Content-Type:" and the content-type value
    is now more flexible (0 or +1 spaces/tabs are fine).



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net