src/platform_unix.c
branchkeysync
changeset 1119 97f329284202
parent 1118 df6c0c9aa76a
child 1136 a74ad2b30d0c
     1.1 --- a/src/platform_unix.c	Thu Sep 01 14:16:18 2016 +0200
     1.2 +++ b/src/platform_unix.c	Fri Sep 02 01:32:22 2016 +0200
     1.3 @@ -23,6 +23,7 @@
     1.4  #endif
     1.5  
     1.6  #ifdef ANDROID
     1.7 +#include <uuid.h>
     1.8  char *stpncpy(char *dst, const char *src, size_t n)
     1.9  {
    1.10      if (n != 0) {
    1.11 @@ -95,6 +96,17 @@
    1.12      }
    1.13      return buffer;
    1.14  }
    1.15 +
    1.16 +void uuid_generate_random(uuid__t out)
    1.17 +{
    1.18 +    // TODO
    1.19 +}
    1.20 +
    1.21 +void uuid_unparse_upper(uuid__t uu, uuid_string_t out)
    1.22 +{
    1.23 +    // TODO
    1.24 +}
    1.25 +
    1.26  #endif
    1.27  
    1.28  #if !defined(BSD) && !defined(__APPLE__)