aboutsummaryrefslogtreecommitdiff
path: root/src/pickle_encoding.c
AgeCommit message (Collapse)Author
2016-10-24Return the base64-encoded length of picklesRichard van der Hoff
make olm_pickle_* return the lengths of the base64-encoded pickles, rather than the raw pickle. (From the application's POV, the format of the pickle is opaque: it doesn't even know that it is base64-encoded. So returning the length of the raw pickle is particularly unhelpful.)
2016-05-24Factor out pickle_encoding from olm.cppRichard van der Hoff
We don't need to have all of the top-level pickling functions in olm.cpp; factor out the utilities to support it to pickle_encoding.cpp (and make sure that they have plain-C bindings).