RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

R_SURRENDER Reference

This structure provides a status update of a time intensive operation.

It also allows you to abort the operation if required.

Samples:

r_gnrt.c, reqgen.c, and ss_cert_smpl.c.

#include <r_types.h>

struct r_surrender_st
{
    /* Return 0 to continue, non-zero to 'cancel' function */
    int (*callback)(R_SURRENDER *ctx,int function,int num);
    char *arg;
};

Data Fields

int(* callback )(R_SURRENDER *ctx, int function, int num)
 The surrender function pointer used as a generic method of passing user-defined callback or information collection functions.

char* arg
 The argument data used by the callback operation.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1