RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

R_SURRENDER Reference

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

It also allows you to abort the operation if required.

#include <r_types.h>

struct r_surrender_st
{
    /* Return 0 to continue, non-zero to 'cancel' function */
    /**
     * The surrender function pointer used as a generic method of
     * passing user-defined callback or information collection functions.
     */
    int (*callback)(R_SURRENDER *ctx,int function,int num);
    /**
     * The argument data used by the callback operation.
     */
    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-2002 RSA Security Inc. All rights reserved. 061-001005-150-001-000-3768 - 1.5