* amar-src/amar.c: Add read function that use the mainloop.
* amar-src/amar.h: Add read function that use the mainloop.
* amar-src/amarchiver.c: Use new event interface.
* perl/Amanda/Archive.swg: Swig new event interface.
* perl/Amanda/MainLoop.swg (run_until_empty): New method.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/branches/3_3@5669 a8d146d6-cc15-0410-8900-af154a0219e0