/home/dko/Projects/mobilec/src/security/xyssl-0.9/programs/ssl/ssl_client2.c File Reference

#include <string.h>
#include <stdio.h>
#include "xyssl/net.h"
#include "xyssl/ssl.h"
#include "xyssl/havege.h"
#include "xyssl/certs.h"
#include "xyssl/x509.h"

Go to the source code of this file.

Defines

#define SERVER_PORT   443
#define SERVER_NAME   "xyssl.org"
#define GET_REQUEST
#define DEBUG_LEVEL   0

Functions

void my_debug (void *ctx, int level, char *str)
int main (void)

Define Documentation

#define DEBUG_LEVEL   0

Definition at line 44 of file ssl_client2.c.

#define GET_REQUEST
Value:
"GET /hello/ HTTP/1.1\r\n" \
    "Host: xyssl.org\r\n\r\n"

Definition at line 40 of file ssl_client2.c.

#define SERVER_NAME   "xyssl.org"

Definition at line 39 of file ssl_client2.c.

#define SERVER_PORT   443

Definition at line 34 of file ssl_client2.c.


Function Documentation

int main ( void   ) 
void my_debug ( void *  ctx,
int  level,
char *  str 
)

Definition at line 46 of file ssl_client2.c.

References DEBUG_LEVEL.

Generated on Tue Dec 28 15:15:29 2010 for Mobile-C by  doxygen 1.6.3