31 #ifndef _AWS_GREENGRASS_DISCOVERY_H_    32 #define _AWS_GREENGRASS_DISCOVERY_H_    34 #include "aws_clientcredential.h"    88 BaseType_t GGD_GetGGCIPandCertificate( 
char * pcBuffer,
    89                                        const uint32_t ulBufferSize,
   103 BaseType_t GGD_JSONRequestStart( 
Socket_t * pxSocket );
   121 BaseType_t GGD_JSONRequestGetSize( 
Socket_t * pxSocket,
   122                                    uint32_t * pulJSONFileSize );
   163 BaseType_t GGD_JSONRequestGetFile( 
Socket_t * pxSocket,
   165                                    const uint32_t ulBufferSize,
   166                                    uint32_t * pulByteRead,
   167                                    BaseType_t * pxJSONFileRetrieveCompleted,
   168                                    const uint32_t pulJSONFileSize );
   176 void GGD_JSONRequestAbort( 
Socket_t * pxSocket );
   216 BaseType_t GGD_GetIPandCertificateFromJSON( 
char * pcJSONFile,
   217                                             const uint32_t ulJSONFileSize,
   220                                             const BaseType_t xAutoSelectFlag );
 const char * pcHostAddress
 
Secure Sockets Interface. 
 
Green Grass Core connection parameters. 
 
uint32_t ulCertificateSize
 
Input from user to locate GGC inside JSON file. 
 
const char * pcCoreAddress
 
void * Socket_t
The socket type.