Moved identity_list typedef import_own_key
authorEdouard Tisserant
Thu, 09 Jun 2016 16:51:44 +0200
branchimport_own_key
changeset 730de7942336904
parent 729 6e93d01cf378
child 734 bd9a3eb1d707
Moved identity_list typedef
src/identity_list.h
src/pEpEngine.h
     1.1 --- a/src/identity_list.h	Wed Jun 08 21:12:33 2016 +0200
     1.2 +++ b/src/identity_list.h	Thu Jun 09 16:51:44 2016 +0200
     1.3 @@ -7,12 +7,6 @@
     1.4  #endif
     1.5  
     1.6  
     1.7 -typedef struct _identity_list {
     1.8 -    pEp_identity *ident;
     1.9 -    struct _identity_list *next;
    1.10 -} identity_list;
    1.11 -
    1.12 -
    1.13  // new_identity_list() - allocate a new identity list
    1.14  //
    1.15  //  parameters:
     2.1 --- a/src/pEpEngine.h	Wed Jun 08 21:12:33 2016 +0200
     2.2 +++ b/src/pEpEngine.h	Thu Jun 09 16:51:44 2016 +0200
     2.3 @@ -388,6 +388,11 @@
     2.4      bool me;                    // if this is the local user herself/himself
     2.5  } pEp_identity;
     2.6  
     2.7 +typedef struct _identity_list {
     2.8 +    pEp_identity *ident;
     2.9 +    struct _identity_list *next;
    2.10 +} identity_list;
    2.11 +
    2.12  
    2.13  // new_identity() - allocate memory and set the string and size fields
    2.14  //
    2.15 @@ -436,7 +441,6 @@
    2.16  
    2.17  DYNAMIC_API void free_identity(pEp_identity *identity);
    2.18  
    2.19 -#include "identity_list.h"
    2.20  
    2.21  // get_identity() - get identity information
    2.22  //