tor/src
Nick Mathewson 4a7e90adc5 Repair buffer API so everything starts with buf_.
Our convention is that functions which manipulate a type T should be
named T_foo.  But the buffer functions were super old, and followed
all kinds of conventions.  Now they're uniform.

Here's the perl I used to do this:

\#!/usr/bin/perl -w -i -p

s/read_to_buf\(/buf_read_from_socket\(/;
s/flush_buf\(/buf_flush_to_socket\(/;
s/read_to_buf_tls\(/buf_read_from_tls\(/;
s/flush_buf_tls\(/buf_flush_to_tls\(/;
s/write_to_buf\(/buf_add\(/;
s/write_to_buf_compress\(/buf_add_compress\(/;
s/move_buf_to_buf\(/buf_move_to_buf\(/;
s/peek_from_buf\(/buf_peek\(/;
s/fetch_from_buf\(/buf_get_bytes\(/;
s/fetch_from_buf_line\(/buf_get_line\(/;
s/fetch_from_buf_line\(/buf_get_line\(/;
s/buf_remove_from_front\(/buf_drain\(/;
s/peek_buf_startswith\(/buf_peek_startswith\(/;
s/assert_buf_ok\(/buf_assert_ok\(/;
2017-09-05 13:57:51 -04:00
..
common Repair buffer API so everything starts with buf_. 2017-09-05 13:57:51 -04:00
config Merge branch 'maint-0.2.8' into maint-0.2.9 2017-08-03 08:44:31 -04:00
ext Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
or Repair buffer API so everything starts with buf_. 2017-09-05 13:57:51 -04:00
rust 22839: Build tor with rust enabled on win 2017-08-21 15:08:24 -04:00
test Repair buffer API so everything starts with buf_. 2017-09-05 13:57:51 -04:00
tools 22839: Build tor with rust enabled on win 2017-08-21 15:08:24 -04:00
trace Add stub function for libor-trace. 2017-04-25 18:02:19 +02:00
trunnel Re-run trunnel. Cosmetic changes only. 2017-08-24 16:13:01 -04:00
win32 version bump to 0.3.0.10-dev 2017-08-02 12:28:34 -04:00
include.am Add --enable-rust configure switch 2017-04-29 08:55:57 +02:00