• src/smblib/smbadd.c smbdefs.h smblib.c smblib.h smbtxt.c

    From rswindell@VERT to CVS commit on Fri Nov 18 01:52:34 2016
    src/smblib smbadd.c 1.34 1.35 smbdefs.h 1.91 1.92 smblib.c 1.158 1.159 smblib.h 1.78 1.79 smbtxt.c 1.21 1.22
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/tmp/cvs-serv21553

    Modified Files:
    smbadd.c smbdefs.h smblib.c smblib.h smbtxt.c
    Log Message:
    Introduced 2 new poll concepts:
    - Closures (polls can be closed for new voting by the pollster)
    - Results can have configurable visibility:
    a. Only to voters (and the pollster) - the default
    b. Everyone
    c. Everyone once the poll has closed
    d. Only the pollster

    Changes to smb_getmsgtxt():
    Main change: poll questions can now be quoted when replying to a posted poll (the results cannot be quoted).
    Also: there's now automatically a blank line inserted between comment header fields and poll answers or the msg body text.
    Also: upon any malloc failure, the function now returns NULL.
    New functions: smb_msg_is_from() and smb_addpollclosure().

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net