Subject | Re: [firebird-support] Devel Firebird UDF for Linux problems |
---|---|
Author | Yosvany Llerena RodrÃguez |
Post date | 2006-11-24T12:34:02Z |
Ok guys, here the new one.
What's the problem now?
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define EXPORT
#include "ibase.h"
#include <stdio.h>
#include <stdlib.h>
int EXPORT extapp (char *data, char *test, char *results){
char params[255];
sprintf(params,"./extract -f %s -t %s > %s", data, test, results);
system(params);
return 0;
}
DECLARE EXTERNAL FUNCTION F_EXTAPP
CSTRING(85), CSTRING(85), CSTRING(85)
RETURNS Integer
ENTRY_POINT 'extapp'
MODULE_NAME 'udfapp.so';
[Non-text portions of this message have been removed]
What's the problem now?
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define EXPORT
#include "ibase.h"
#include <stdio.h>
#include <stdlib.h>
int EXPORT extapp (char *data, char *test, char *results){
char params[255];
sprintf(params,"./extract -f %s -t %s > %s", data, test, results);
system(params);
return 0;
}
DECLARE EXTERNAL FUNCTION F_EXTAPP
CSTRING(85), CSTRING(85), CSTRING(85)
RETURNS Integer
ENTRY_POINT 'extapp'
MODULE_NAME 'udfapp.so';
[Non-text portions of this message have been removed]