History log of /openbsd/usr.sbin/smtpd/table_getpwnam.c (Results 1 – 16 of 16)
Revision Date Author Comments
# e2c7aac8 14-May-2024 op <op@openbsd.org>

remove no-op methods from table_getpwnam; ok gilles@


# b613adb4 14-May-2024 op <op@openbsd.org>

use C99 syntax for filling the table_backend structs; ok gilles@


# d3140113 14-Jun-2021 eric <eric@openbsd.org>

add required headers for smtpd.h and remove unnecessary ones in other files.

ok jung@


# ff01b044 26-May-2021 eric <eric@openbsd.org>

replaces calls to err(3)/errx(3) with fatal()/fatalx() from log.c
for code that runs in the daemon.

ok florian@ millert@


# 5f0e36cc 27-Dec-2018 eric <eric@openbsd.org>

introduce dump() and add() table methods, only implemented for static tables.

ok gilles@


# 9a2428ac 27-Dec-2018 eric <eric@openbsd.org>

pass the table pointer to the lookup()/fecth() methods

ok gilles@


# a4c00f8a 27-Dec-2018 eric <eric@openbsd.org>

change the close() method to take the table pointer

ok gilles


# b700b1d8 27-Dec-2018 eric <eric@openbsd.org>

Make the backend open method return an int to report success.
The implementation is responsible for setting the handle pointer
as needed.

ok gilles@


# 93cc0b04 26-Dec-2018 eric <eric@openbsd.org>

reorder parameters for consistency


# 699c3f98 26-Dec-2018 eric <eric@openbsd.org>

get rid of the unused dict argument in table lookup and fetch api.

ok gilles@


# 4f15e081 26-Dec-2018 eric <eric@openbsd.org>

move the table backend name in the backend struct.
remove unused function.

ok gilles@


# aa0d26b5 23-Dec-2018 eric <eric@openbsd.org>

Simplify the table backend interface: lookup results are returned
as strings, and parsing is handled by the upper layer.

ok gilles@


# 953aae25 20-Jan-2015 deraadt <deraadt@openbsd.org>

use <limits.h> comprehensively. For now try to push <> includes to
each .c file, and out of the .h files. To avoid overinclude.
ok gilles, in principle. If this has been done right, -portable shou

use <limits.h> comprehensively. For now try to push <> includes to
each .c file, and out of the .h files. To avoid overinclude.
ok gilles, in principle. If this has been done right, -portable should
become easier to maintain.

show more ...


# d6f2ac01 08-Jul-2014 eric <eric@openbsd.org>

Update the table API: lookup functions can take an optional parameters
dictionnary (currently not set). While there, add a helper for forking
external backends, and remove unused table functions.

ok

Update the table API: lookup functions can take an optional parameters
dictionnary (currently not set). While there, add a helper for forking
external backends, and remove unused table functions.

ok gilles@

show more ...


# 299c4efe 24-May-2013 eric <eric@openbsd.org>

sync with OpenSMTPD 5.3.2

ok gilles@


# 65c4fdfb 26-Jan-2013 gilles <gilles@openbsd.org>

Sync with our smtpd repo:

* first bricks of ldap and sqlite support (not finished but both working)
* new table API to replace map API, all lookups are done through tables
* improved handling of tem

Sync with our smtpd repo:

* first bricks of ldap and sqlite support (not finished but both working)
* new table API to replace map API, all lookups are done through tables
* improved handling of temporary errors throughout the daemon
* improved scheduler and mta logic: connection reuse, optimizes batches
* improved queue: more tolerant to admin errors, new layout, less disk-IO
* improved memory usage under high load
* SSL certs/keys isolated to lookup process to avoid facing network
* VIRTUAL support improved, fully virtual setups possible now
* runtime tracing of processes through smtpctl trace
* ssl_privsep.c sync-ed with relayd
* ssl.c no longer contains smtpd specific interfaces
* smtpd-specific ssl bits moved to ssl_smtpd.c
* update mail address in copyright

FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE.

smtpd.conf(5) simplified, it will require adaptations

ok eric@

show more ...