INN commit: trunk (218 files)

INN Commit Russ_Allbery at isc.org
Tue Nov 21 09:37:53 UTC 2006


    Date: Tuesday, November 21, 2006 @ 01:37:51
  Author: eagle
Revision: 7585

Move the remaining public headers in include into include/inn and adjust
all includes appropriately.  Rename the macros defined in paths.h to
start with an INN prefix and adjust all code that uses them.  Clean up
the remaining includes of config.h in public headers and have them
include inn/defines.h instead.  Add a header guard for paths.h.  Stop
installing non-public headers.

Based on the corrections made by a script contributed by Adam J. Richter.

Added:
  trunk/include/inn/inndcomm.h
    (from rev 7518, trunk/include/inndcomm.h)
  trunk/include/inn/libinn.h
    (from rev 7519, trunk/include/libinn.h)
  trunk/include/inn/ov.h
    (from rev 7518, trunk/include/ov.h)
  trunk/include/inn/paths.h.in
    (from rev 7518, trunk/include/paths.h.in)
  trunk/include/inn/storage.h
    (from rev 7518, trunk/include/storage.h)
Modified:
  trunk/CONTRIBUTORS
  trunk/MANIFEST
  trunk/Makefile.global.in
  trunk/TODO
  trunk/authprogs/Makefile
  trunk/authprogs/auth_krb5.c
  trunk/authprogs/ckpasswd.c
  trunk/authprogs/domain.c
  trunk/authprogs/ident.c
  trunk/authprogs/libauth.c
  trunk/authprogs/radius.c
  trunk/backends/Makefile
  trunk/backends/actsync.c
  trunk/backends/archive.c
  trunk/backends/batcher.c
  trunk/backends/buffchan.c
  trunk/backends/crosspost.c
  trunk/backends/cvtbatch.c
  trunk/backends/filechan.c
  trunk/backends/innbind.c
  trunk/backends/inndf.c
  trunk/backends/innxbatch.c
  trunk/backends/innxmit.c
  trunk/backends/map.c
  trunk/backends/nntpget.c
  trunk/backends/overchan.c
  trunk/backends/shrinkfile.c
  trunk/configure.ac
  trunk/contrib/respool.c
  trunk/doc/man/inndcomm.3
  trunk/doc/man/libinn.3
  trunk/doc/man/libstorage.3
  trunk/doc/pod/hacking.pod
  trunk/doc/pod/hook-perl.pod
  trunk/doc/pod/uwildmat.pod
  trunk/expire/Makefile
  trunk/expire/convdate.c
  trunk/expire/expire.c
  trunk/expire/expireover.c
  trunk/expire/fastrm.c
  trunk/expire/grephistory.c
  trunk/expire/makedbz.c
  trunk/expire/makehistory.c
  trunk/expire/prunehistory.c
  trunk/frontends/Makefile
  trunk/frontends/ctlinnd.c
  trunk/frontends/feedone.c
  trunk/frontends/getlist.c
  trunk/frontends/inews.c
  trunk/frontends/innconfval.c
  trunk/frontends/ovdb_init.c
  trunk/frontends/ovdb_monitor.c
  trunk/frontends/ovdb_server.c
  trunk/frontends/ovdb_stat.c
  trunk/frontends/rnews.c
  trunk/frontends/sm.c
  trunk/frontends/sys2nf.c
  trunk/history/Makefile
  trunk/history/his.c
  trunk/history/hisv6/hisv6-private.h
  trunk/history/hisv6/hisv6.c
  trunk/include/	(properties)
  trunk/include/Makefile
  trunk/include/dbz.h
  trunk/include/inn/	(properties)
  trunk/include/inn/options.h
  trunk/include/inn/overview.h
  trunk/innd/Makefile
  trunk/innd/art.c
  trunk/innd/cc.c
  trunk/innd/icd.c
  trunk/innd/innd.c
  trunk/innd/innd.h
  trunk/innd/keywords.c
  trunk/innd/lc.c
  trunk/innd/nc.c
  trunk/innd/newsfeeds.c
  trunk/innd/ng.c
  trunk/innd/python.c
  trunk/innd/rc.c
  trunk/innd/status.c
  trunk/innd/tinyleaf.c
  trunk/innd/util.c
  trunk/innfeed/Makefile
  trunk/innfeed/article.c
  trunk/innfeed/buffer.c
  trunk/innfeed/configfile.l
  trunk/innfeed/configfile.y
  trunk/innfeed/connection.c
  trunk/innfeed/endpoint.c
  trunk/innfeed/host.c
  trunk/innfeed/imap_connection.c
  trunk/innfeed/innlistener.c
  trunk/innfeed/main.c
  trunk/innfeed/misc.c
  trunk/innfeed/tape.c
  trunk/lib/Makefile
  trunk/lib/buffer.c
  trunk/lib/cleanfrom.c
  trunk/lib/clientactive.c
  trunk/lib/clientlib.c
  trunk/lib/concat.c
  trunk/lib/conffile.c
  trunk/lib/confparse.c
  trunk/lib/daemonize.c
  trunk/lib/date.c
  trunk/lib/dbz.c
  trunk/lib/defdist.c
  trunk/lib/fdflags.c
  trunk/lib/fdlimit.c
  trunk/lib/genid.c
  trunk/lib/getfqdn.c
  trunk/lib/getmodaddr.c
  trunk/lib/hash.c
  trunk/lib/hashtab.c
  trunk/lib/innconf.c
  trunk/lib/inndcomm.c
  trunk/lib/localopen.c
  trunk/lib/lockfile.c
  trunk/lib/makedir.c
  trunk/lib/messages.c
  trunk/lib/network.c
  trunk/lib/nntp.c
  trunk/lib/perl.c
  trunk/lib/qio.c
  trunk/lib/radix32.c
  trunk/lib/readin.c
  trunk/lib/remopen.c
  trunk/lib/reservedfd.c
  trunk/lib/resource.c
  trunk/lib/sendarticle.c
  trunk/lib/sendpass.c
  trunk/lib/timer.c
  trunk/lib/tst.c
  trunk/lib/uwildmat.c
  trunk/lib/vector.c
  trunk/lib/wire.c
  trunk/lib/xfopena.c
  trunk/lib/xmalloc.c
  trunk/lib/xsignal.c
  trunk/lib/xwrite.c
  trunk/m4/paths.m4
  trunk/nnrpd/Makefile
  trunk/nnrpd/article.c
  trunk/nnrpd/cache.c
  trunk/nnrpd/cache.h
  trunk/nnrpd/commands.c
  trunk/nnrpd/group.c
  trunk/nnrpd/list.c
  trunk/nnrpd/newnews.c
  trunk/nnrpd/nnrpd.c
  trunk/nnrpd/nnrpd.h
  trunk/nnrpd/perl.c
  trunk/nnrpd/perm.c
  trunk/nnrpd/post.c
  trunk/storage/Makefile
  trunk/storage/buffindexed/buffindexed.c
  trunk/storage/buffindexed/shmem.c
  trunk/storage/cnfs/cnfs.c
  trunk/storage/expire.c
  trunk/storage/interface.c
  trunk/storage/interface.h
  trunk/storage/ov.c
  trunk/storage/ovdb/ovdb.c
  trunk/storage/overdata.c
  trunk/storage/overview.c
  trunk/storage/ovinterface.h
  trunk/storage/timecaf/caf.c
  trunk/storage/timecaf/timecaf.c
  trunk/storage/timehash/timehash.c
  trunk/storage/tradindexed/tdx-cache.c
  trunk/storage/tradindexed/tdx-data.c
  trunk/storage/tradindexed/tdx-group.c
  trunk/storage/tradindexed/tdx-private.h
  trunk/storage/tradindexed/tdx-structure.h
  trunk/storage/tradindexed/tdx-util.c
  trunk/storage/tradindexed/tradindexed.c
  trunk/storage/tradindexed/tradindexed.h
  trunk/storage/tradspool/tradspool.c
  trunk/storage/trash/trash.c
  trunk/support/mkmanifest
  trunk/tests/innd/artparse-t.c
  trunk/tests/innd/chan-t.c
  trunk/tests/lib/buffer-t.c
  trunk/tests/lib/concat-t.c
  trunk/tests/lib/confparse-t.c
  trunk/tests/lib/date-t.c
  trunk/tests/lib/fakewrite.c
  trunk/tests/lib/getnameinfo-t.c
  trunk/tests/lib/hash-t.c
  trunk/tests/lib/hashtab-t.c
  trunk/tests/lib/list-t.c
  trunk/tests/lib/md5-t.c
  trunk/tests/lib/messages-t.c
  trunk/tests/lib/network-t.c
  trunk/tests/lib/pread-t.c
  trunk/tests/lib/qio-t.c
  trunk/tests/lib/setenv-t.c
  trunk/tests/lib/tst-t.c
  trunk/tests/lib/uwildmat-t.c
  trunk/tests/lib/vector-t.c
  trunk/tests/lib/wire-t.c
  trunk/tests/lib/xmalloc.c
  trunk/tests/lib/xwrite-t.c
  trunk/tests/libtest.c
  trunk/tests/overview/api-t.c
  trunk/tests/overview/overview-t.c
  trunk/tests/overview/xref-t.c
Deleted:
  trunk/include/inndcomm.h
  trunk/include/libinn.h
  trunk/include/ov.h
  trunk/include/paths.h.in
  trunk/include/storage.h

-------------------------------------+
 CONTRIBUTORS                        |    2 
 MANIFEST                            |   10 -
 Makefile.global.in                  |    4 
 TODO                                |   16 --
 authprogs/Makefile                  |   49 +++---
 authprogs/auth_krb5.c               |    2 
 authprogs/ckpasswd.c                |    2 
 authprogs/domain.c                  |    2 
 authprogs/ident.c                   |    2 
 authprogs/libauth.c                 |    2 
 authprogs/radius.c                  |    6 
 backends/Makefile                   |  121 +++++++++------
 backends/actsync.c                  |    6 
 backends/archive.c                  |    8 -
 backends/batcher.c                  |    8 -
 backends/buffchan.c                 |    6 
 backends/crosspost.c                |    4 
 backends/cvtbatch.c                 |    6 
 backends/filechan.c                 |    4 
 backends/innbind.c                  |    2 
 backends/inndf.c                    |    6 
 backends/innxbatch.c                |    2 
 backends/innxmit.c                  |    8 -
 backends/map.c                      |    4 
 backends/nntpget.c                  |    6 
 backends/overchan.c                 |    4 
 backends/shrinkfile.c               |    2 
 configure.ac                        |    4 
 contrib/respool.c                   |    6 
 doc/man/inndcomm.3                  |    4 
 doc/man/libinn.3                    |    2 
 doc/man/libstorage.3                |    4 
 doc/pod/hacking.pod                 |    6 
 doc/pod/hook-perl.pod               |    8 -
 doc/pod/uwildmat.pod                |    4 
 expire/Makefile                     |   71 +++++----
 expire/convdate.c                   |    2 
 expire/expire.c                     |   14 -
 expire/expireover.c                 |   12 -
 expire/fastrm.c                     |    4 
 expire/grephistory.c                |    8 -
 expire/makedbz.c                    |   10 -
 expire/makehistory.c                |   22 +-
 expire/prunehistory.c               |    6 
 frontends/Makefile                  |  104 +++++++------
 frontends/ctlinnd.c                 |    8 -
 frontends/feedone.c                 |    2 
 frontends/getlist.c                 |    6 
 frontends/inews.c                   |    4 
 frontends/innconfval.c              |    2 
 frontends/ovdb_init.c               |    4 
 frontends/ovdb_monitor.c            |    4 
 frontends/ovdb_server.c             |    8 -
 frontends/ovdb_stat.c               |    8 -
 frontends/rnews.c                   |   26 +--
 frontends/sm.c                      |    4 
 frontends/sys2nf.c                  |    2 
 history/Makefile                    |   24 +--
 history/his.c                       |    4 
 history/hisv6/hisv6-private.h       |    4 
 history/hisv6/hisv6.c               |    2 
 include/Makefile                    |    8 -
 include/dbz.h                       |    2 
 include/inn/inndcomm.h              |   91 +++++++++++
 include/inn/libinn.h                |  221 ++++++++++++++++++++++++++++
 include/inn/options.h               |    2 
 include/inn/ov.h                    |   82 ++++++++++
 include/inn/overview.h              |    2 
 include/inn/paths.h.in              |  118 +++++++++++++++
 include/inn/storage.h               |   90 +++++++++++
 include/inndcomm.h                  |   91 -----------
 include/libinn.h                    |  225 -----------------------------
 include/ov.h                        |   82 ----------
 include/paths.h.in                  |  111 --------------
 include/storage.h                   |   95 ------------
 innd/Makefile                       |  263 +++++++++++++++++++++-------------
 innd/art.c                          |    6 
 innd/cc.c                           |   10 -
 innd/icd.c                          |    8 -
 innd/innd.c                         |   14 -
 innd/innd.h                         |    6 
 innd/keywords.c                     |    2 
 innd/lc.c                           |    2 
 innd/nc.c                           |    4 
 innd/newsfeeds.c                    |    2 
 innd/ng.c                           |    2 
 innd/python.c                       |    2 
 innd/rc.c                           |    4 
 innd/status.c                       |    2 
 innd/tinyleaf.c                     |    2 
 innd/util.c                         |    6 
 innfeed/Makefile                    |  104 ++++++++-----
 innfeed/article.c                   |    4 
 innfeed/buffer.c                    |    2 
 innfeed/configfile.l                |    2 
 innfeed/configfile.y                |    2 
 innfeed/connection.c                |    2 
 innfeed/endpoint.c                  |    2 
 innfeed/host.c                      |    2 
 innfeed/imap_connection.c           |    2 
 innfeed/innlistener.c               |    2 
 innfeed/main.c                      |    4 
 innfeed/misc.c                      |    2 
 innfeed/tape.c                      |    2 
 lib/Makefile                        |  225 +++++++++++++++++------------
 lib/buffer.c                        |    2 
 lib/cleanfrom.c                     |    2 
 lib/clientactive.c                  |    8 -
 lib/clientlib.c                     |    2 
 lib/concat.c                        |    2 
 lib/conffile.c                      |    2 
 lib/confparse.c                     |    2 
 lib/daemonize.c                     |    2 
 lib/date.c                          |    2 
 lib/dbz.c                           |    2 
 lib/defdist.c                       |    8 -
 lib/fdflags.c                       |    2 
 lib/fdlimit.c                       |    2 
 lib/genid.c                         |    2 
 lib/getfqdn.c                       |    4 
 lib/getmodaddr.c                    |   10 -
 lib/hash.c                          |    2 
 lib/hashtab.c                       |    2 
 lib/innconf.c                       |   10 -
 lib/inndcomm.c                      |   14 -
 lib/localopen.c                     |    6 
 lib/lockfile.c                      |    2 
 lib/makedir.c                       |    2 
 lib/messages.c                      |    2 
 lib/network.c                       |    2 
 lib/nntp.c                          |    2 
 lib/perl.c                          |    2 
 lib/qio.c                           |    2 
 lib/radix32.c                       |    2 
 lib/readin.c                        |    2 
 lib/remopen.c                       |    2 
 lib/reservedfd.c                    |    2 
 lib/resource.c                      |    2 
 lib/sendarticle.c                   |    2 
 lib/sendpass.c                      |    6 
 lib/timer.c                         |    2 
 lib/tst.c                           |    2 
 lib/uwildmat.c                      |    2 
 lib/vector.c                        |    2 
 lib/wire.c                          |    2 
 lib/xfopena.c                       |    2 
 lib/xmalloc.c                       |    2 
 lib/xsignal.c                       |    2 
 lib/xwrite.c                        |    2 
 m4/paths.m4                         |    2 
 nnrpd/Makefile                      |  202 ++++++++++++++------------
 nnrpd/article.c                     |    2 
 nnrpd/cache.c                       |    4 
 nnrpd/cache.h                       |    4 
 nnrpd/commands.c                    |   10 -
 nnrpd/group.c                       |    2 
 nnrpd/list.c                        |   20 +-
 nnrpd/newnews.c                     |    4 
 nnrpd/nnrpd.c                       |   14 -
 nnrpd/nnrpd.h                       |    6 
 nnrpd/perl.c                        |    4 
 nnrpd/perm.c                        |    8 -
 nnrpd/post.c                        |    2 
 storage/Makefile                    |  221 ++++++++++++++++++----------
 storage/buffindexed/buffindexed.c   |    8 -
 storage/buffindexed/shmem.c         |    2 
 storage/cnfs/cnfs.c                 |    4 
 storage/expire.c                    |   14 -
 storage/interface.c                 |    6 
 storage/interface.h                 |    2 
 storage/ov.c                        |    4 
 storage/ovdb/ovdb.c                 |    8 -
 storage/overdata.c                  |    8 -
 storage/overview.c                  |    4 
 storage/ovinterface.h               |    4 
 storage/timecaf/caf.c               |    2 
 storage/timecaf/timecaf.c           |    4 
 storage/timehash/timehash.c         |    4 
 storage/tradindexed/tdx-cache.c     |    4 
 storage/tradindexed/tdx-data.c      |    6 
 storage/tradindexed/tdx-group.c     |    6 
 storage/tradindexed/tdx-private.h   |    4 
 storage/tradindexed/tdx-structure.h |    4 
 storage/tradindexed/tdx-util.c      |    8 -
 storage/tradindexed/tradindexed.c   |    6 
 storage/tradindexed/tradindexed.h   |    4 
 storage/tradspool/tradspool.c       |    6 
 storage/trash/trash.c               |    2 
 support/mkmanifest                  |    2 
 tests/innd/artparse-t.c             |    2 
 tests/innd/chan-t.c                 |    2 
 tests/lib/buffer-t.c                |    2 
 tests/lib/concat-t.c                |    2 
 tests/lib/confparse-t.c             |    2 
 tests/lib/date-t.c                  |    2 
 tests/lib/fakewrite.c               |    2 
 tests/lib/getnameinfo-t.c           |    2 
 tests/lib/hash-t.c                  |    2 
 tests/lib/hashtab-t.c               |    2 
 tests/lib/list-t.c                  |    2 
 tests/lib/md5-t.c                   |    2 
 tests/lib/messages-t.c              |    2 
 tests/lib/network-t.c               |   24 ++-
 tests/lib/pread-t.c                 |    2 
 tests/lib/qio-t.c                   |    2 
 tests/lib/setenv-t.c                |    2 
 tests/lib/tst-t.c                   |    2 
 tests/lib/uwildmat-t.c              |    2 
 tests/lib/vector-t.c                |    2 
 tests/lib/wire-t.c                  |    2 
 tests/lib/xmalloc.c                 |    2 
 tests/lib/xwrite-t.c                |    2 
 tests/libtest.c                     |    2 
 tests/overview/api-t.c              |    4 
 tests/overview/overview-t.c         |    6 
 tests/overview/xref-t.c             |    4 
 216 files changed, 1881 insertions(+), 1581 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 7584:7585 to see the changes.


More information about the inn-committers mailing list