Custom Query (257 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (40 - 42 of 257)

Ticket Owner Reporter Resolution Summary
#283 ph3-der-loewe ph3-der-loewe fixed There should be a roar_buffer_moveinto() like function moving a buffer into a buffer chain
Description

There should be a function like roar_buffer_moveinto() moving a buffer into a buffer chain. This function should take a pointer to the buffer pointer. The function should basically do the following:

if ( *buf == NULL ) {
 *buf = *next;
 *next = NULL;
} else {
 roar_buffer_moveinto(*buf, next);
}

Such a function may be useful in a lot cases. It may be very helpful with the common protocol interface (see #257).

#284 ph3-der-loewe ph3-der-loewe fixed roar_buffer_set_len() should be optimized for incremental size changes
Description

roar_buffer_set_len() currently does a roar_mm_realloc() every time the size is incremented. This should be changed so it only uses roar_mm_realloc() when it needs more physical space.

This change will allow us to allocate a big buffer and add data in chunks every time updating the length with roar_buffer_set_len() in an much more efficient way.

#285 ph3-der-loewe ph3-der-loewe fixed strselcmp() and strseltok() should be moved from gopher implementation in roard to libroar
Description

The following two functions are considered generally helpful and should be moved into libroar. They are currently in roard/emul_gopher.c

static int strselcmp(const char *s1, const char *s2);
static ssize_t strseltok(const char *s1, char *s2, char ** tok, size_t toks);
Note: See TracQuery for help on using queries.