33750ba29b605a925af5aed58d3f3735422b1e25 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
lib: guid - centralise a 'reset to the empty value' helper function
This helper just ensures that the caller never has to get the sizeof()
right. (Were a guid passed as a function parameter, mistakes could happen.)
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
518781a0a4ba2403f23dbadda445b107fbb87daa |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
lib: guid - declare some functions as pure
As the functions aren't inline, the compiler can't know if they
can be optimised away, so give it a helping hand.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
efaa1272c1b682bc2e105b2f374152a6a1f45825 |
|
25-Nov-2014 |
Phil Carmody <phil@dovecot.fi> |
lib: guid - turn uint8_t * parameters into guid_128_t
As we expose the type's internals, there's no concrete difference between
the two, but it might help static code checkers to detect misuse of the
library, or sloppy typing.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |