summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/table_db.c
AgeCommit message (Expand)Author
2021-09-22sync table_db capabilities with table_staticEric Faurot
2021-06-14add required headers for smtpd.h and remove unnecessary ones in other files.Eric Faurot
2021-05-26replaces calls to err(3)/errx(3) with fatal()/fatalx() from log.cEric Faurot
2021-01-23Remove unused variables found by clang. Additional unused var spotted by eric@.rob
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-12-27table_fetch() always expect a valid dst pointer.Eric Faurot
2018-12-27move the iterator variable in the private handle.Eric Faurot
2018-12-27introduce dump() and add() table methods, only implemented for static tables.Eric Faurot
2018-12-27pass the table pointer to the lookup()/fecth() methodsEric Faurot
2018-12-27change the close() method to take the table pointerEric Faurot
2018-12-27Make the backend open method return an int to report success.Eric Faurot
2018-12-26reorder parameters for consistencyEric Faurot
2018-12-26get rid of the unused dict argument in table lookup and fetch api.Eric Faurot
2018-12-26move the table backend name in the backend struct.Eric Faurot
2018-12-23Simplify the table backend interface: lookup results are returnedEric Faurot
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
2015-11-24teach table_db and table_static about mailaddr maps (unused yet)Gilles Chehade
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
2014-07-08Update the table API: lookup functions can take an optional parametersEric Faurot
2014-04-18support mailaddr lookup in table_dbGilles Chehade
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-04-12replace MAX_LINE_SIZE and SMTP_LINE_MAX with SMTPD_MAXLINESIZE forEric Faurot
2013-02-13- when declaring a static table for userinfo, do not make username part ofGilles Chehade
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade