Removed unused code, symbols
This commit is contained in:
parent
4a0c3e1199
commit
e96a8db41f
2 changed files with 0 additions and 25 deletions
|
|
@ -4,8 +4,6 @@
|
|||
* (version 2.1 or later). See the COPYING file in this distribution.
|
||||
*/
|
||||
|
||||
extern void qsort(void *base, size_t num, size_t size, CompareFunc compare_func);
|
||||
|
||||
/**
|
||||
* A represenation of an IMAP message range specifier.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -35,29 +35,6 @@ public bool stri_equal(string a, string b) {
|
|||
return str_equal(a.down(), b.down());
|
||||
}
|
||||
|
||||
public string uint8_to_hex(uint8[] buffer) {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
bool first = true;
|
||||
foreach (uint8 byte in buffer) {
|
||||
if (!first)
|
||||
builder.append_c(' ');
|
||||
|
||||
builder.append_printf("%X", byte);
|
||||
first = false;
|
||||
}
|
||||
|
||||
return builder.str;
|
||||
}
|
||||
|
||||
public string uint8_to_string(uint8[] buffer) {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
foreach (uint8 byte in buffer)
|
||||
builder.append_printf("%c", (char) byte);
|
||||
|
||||
return builder.str;
|
||||
}
|
||||
|
||||
// Removes redundant spaces, tabs, and newlines.
|
||||
public string reduce_whitespace(string _s) {
|
||||
string s = _s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue