File: myssl.h

package info (click to toggle)
scrollz 1.9.99-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,772 kB
  • ctags: 4,598
  • sloc: ansic: 76,347; tcl: 2,866; makefile: 682; sh: 508
file content (21 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _myssl_h_
#define _myssl_h_

#ifdef HAVE_SSL
#include <gnutls/gnutls.h>

#ifndef TRUE
#define TRUE 0 
#endif

#ifndef FALSE
#define FALSE 1
#endif

#define CHK_NULL(x) if ((x)==NULL) { say("SSL error - NULL data form server"); return; }
#define CHK_ERR(err, s) if ((err)==-1) { say("SSL prime error - %s", s); return; }
#define CHK_SSL(err) if ((err)==-1) { say("SSL error - %d", err); return; }

#endif /* SSL */

#endif /* _myssl_h_ */