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

#include <string.h>
#include <stdio.h>
#include "xyssl/net.h"
#include "xyssl/ssl.h"
#include "xyssl/havege.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 42 of file ssl_client1.c.

Referenced by my_debug().

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

Definition at line 38 of file ssl_client1.c.

Referenced by main().

#define SERVER_NAME   "xyssl.org"

Definition at line 37 of file ssl_client1.c.

#define SERVER_PORT   443

Definition at line 32 of file ssl_client1.c.


Function Documentation

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

Definition at line 44 of file ssl_client1.c.

References DEBUG_LEVEL.

Referenced by main(), and ssl_test().

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