SYSreturnReplacement

Top  Previous  Next

If a compensation rule investigates.

With this procedure the available compensation rules can be questioned. In this manner they can be also protected. Because they are not a component of the data bank, this does not happen automatically. The procedure delivers the regular expression, as well as the compensation rule back. The necessary buffers must be provided by the user.

Parametre

num (int) [IN]

The compensation rules are arranged in a linear list. num brags which of the rules from the list is returned. The first rule has the number 1.

muster (char *) [IN / OUT]

By procedure call a pointer on a not initialized storage area with at least musterLen signs is muster a length. In this storage area the regular expression is copied. If he should not fit, the first part of the expression is copied.

musterLen (int) [IN / OUT]

This variable contains the length of the buffer muster. This value encloses the final 0-character.

ersetzung (char *) [IN / OUT]

By procedure call a pointer on a not initialized storage area of at least ersetzungsLen signs is ersetzung a length. In this storage area the compensation rule is copied for the input line. If the whole rule should not fit, only the part is copied, for the place is.

ersetzungsLen (int) [IN / OUT]

This variable contains the length of the buffer ersetzung. This value encloses the final 0-character.

Result

---

Declaration

#include "system.h"

 

void DLLENTRY SYSreturnReplacement (

int num,

char *muster,

int musterLen,

char *ersetzung,

int ersetzungsLen

);