aboutsummaryrefslogtreecommitdiff
path: root/TODO
AgeCommit message (Collapse)AuthorFiles
2009-04-29Fix locking issues. Improve stream interface.Sergey Poznyakoff1
* gnulib.modules: Add c-type, c-strcase, crypto/md5, xgetdomainname, xgethostname. * src/Makefile.am (tagr_SOURCES): Add apop.c, udb.c, xhostname.c * src/graph.c (draw_graph): Rename `now' to `start'. * src/main.c (hostname, rebuild_last_option): New globals. (main): Init hostname. * src/output.c (update_output): Change semantics of the last parameter. * src/readconfig.c (cb_facility): Use c_strcasecmp. (tagr_kw): New keywords: hostname, udb-file, lock-count, lock-timeout, idle-timeout. * src/report.c: Fix locking issues. (update_monitor): Change semantics of the last parameter. (rebuild): Likewise. * src/server.c: Rewrite stream interface. * src/tagr.h (TAGR_ARG_UNUSED, TAGR_PRINTFLIKE): New macros. (lock_retry_count_option, lock_retry_timeout_option) (stream_idle_timeout, hostname): New declarations. (TAGR_UPD_FORCE, TAGR_UPD_LASTTIME): New defines. (trim_crlf, tagr_local_hostnamem tagr_auth_init, tagr_auth) (tagr_udb_name) (udb_get_passwordudb_free_password): New declarations. * TODO: Update
2009-04-28Store timestamps. Implement zero-unknown option.Sergey Poznyakoff1
* src/graph.c (draw_graph): Use timestamps from queue entries. Implement zero_unknown_option. * src/output.c: Store timestamps in traffic_history entries. * src/readconfig.c (cb_monitor, cb_server): Fix checks for empty ID. (tagr_kw): New keyword cut-out-fraction. (readconfig): Reset cut_out_fraction if it is < 1.0. * src/report.c: Print timestamps. * src/stat.c (cut_out_fraction): New variable. (ovf_t, overflow): Remove (spurious now) arguments. (interpolate, overflow, update_stats): Don't interpolate if time interval between this sample and the lastly taken one is greater than step * cut_out_fraction. * src/tagr.h (TAGR_CUT_OUT): New define.
2009-04-28Move network code into a separate file. Introduce a proof-of-concept stream ↵Sergey Poznyakoff1
server. * src/server.c: New file * src/Makefile.am (tagr_SOURCES): Add server.c * TODO: Update. * etc/upgrade.awk: Update. * gnulib.modules: Add strtoumax. * src/main.c (listen_sockaddr, recv_buffer): Remove. (decode_buffer): Remove (see server.c) (get_port): Remove. (tagr_idle): New function. (main): Remove select loop. Use server functions instead. * src/readconfig.c: New configuration file statement "server". * src/tagr.h (listen_sockaddr, rateup) (port, progname): Remove. (tagr_server_type): New enum. (register_server, open_servers, close_servers) (server_loop, tagr_idle): New protos.
2009-04-27HousekeepingSergey Poznyakoff1
* README-alpha, TODO: New files. * configure.ac: Raise autoconf version requirements.

Return to:

Send suggestions and report system problems to the System administrator.