Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
trivial.c File Reference
#include "config.h"
#include "pkcs11t.h"
#include "pkcs11.h"

Go to the source code of this file.

Defines

#define CK_TRUE   TRUE
#define CK_FALSE   FALSE

Functions

int rmain (int argc, char *argv[])
int main (int argc, char *argv[])
int usage (char *argv0)

Variables

static CK_ATTRIBUTE_TYPE all_known_attribute_types []
static number_of_all_known_attribute_types

Define Documentation

Definition at line 70 of file trivial.c.

Definition at line 66 of file trivial.c.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 82 of file trivial.c.

{
  int rv = 0;

  PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 14);
  rv = rmain(argc, argv);
  PR_Cleanup();

  return rv;
}

Here is the call graph for this function:

int rmain ( int  argc,
char *  argv[] 
)
int usage ( char *  argv0)

Definition at line 173 of file trivial.c.

{
  PR_fprintf(PR_STDERR, "Usage: %s [-i {string|--}] <library>.so\n", argv0);
  return 1;
}

Variable Documentation

Definition at line 96 of file trivial.c.

Initial value:

Definition at line 168 of file trivial.c.