Sambar Server Documentation
|
sa_scalar_init |
SA_CTX | *context; |
SA_CHAR | *name; |
SA_SCALARARG | *args; |
SA_INT | numargs; |
SA_CHAR | *desc; |
SA_SCALARFUNC | func; |
context | Server context. |
name | RPC name. |
args | Scalar arguments. |
numargs | The number of scalar argument definitions being passed in. The number of arguments cannot exceed 20. |
desc | Scalar description. Displayed in the system administration console reports. |
func | Function callback that is executed whenever name
scalar is called. The function must take the following form: SA_RETCODE function_name(SA_CTX *, SA_CONN *, SA_ARG *, SA_CHAR *) |
© 1998 Sambar Technologies. All rights reserved. Terms of Use.