Well, the solution is very elegant :) I include the curl's headers file BEFORE src/mod/module.h header :) So, in the curl.c is "empty"... and the htlive.c : ..... #include <string.h> #include <curl/curl.h> #include <curl/easy.h> #undef global #include "src/mod/module.h" .... #inc...
What happens when you comment the part of global in this line (line 64 in htlive.c: static Function *global = NULL, *channels_funcs = NULL,*server_funcs = NULL; change to static Function *channels_funcs = NULL,*server_funcs = NULL; But it dont resolve anything. I use nmalloc, where is defined in th...
Doesnt work! :cry: The same error. Perhaps, the error is not the "#undef global", because i removed it and enclose it, like u said. hmhm.... Function *global? :? :? Make log -> http://hteggviewer.makam.org/errors/make.log The files: http://hteggviewer.makam.org/errors/curl.c http://hteggvi...
Hi, i'm written my C module + xml + curl librarys And my problems show up (it looks like) when i include the curl.h in my module. :evil: My main file is: htlive.c and some part of the code is: .... #include <string.h> #undef global #include "src/mod/module.h" #include "src/users.h&quo...
Someone of you, any time works with libxml2 in eggdrops? Because, im having troubles in the compile time. To compile a mainfile with libxml2 i need compile it in this way: gcc -o myxmlapp -I/usr/local/include/libxml2 main.c -L/usr/local/lib -lxml2 -lz -lpthread -lm My question is, when i try to comp...
I just finished my Module in C.
I tested it, run it, its all right.
So, i started to write the help about it.
But, i can't see the help when i type, .help <some_cmd_of_my_module>
My eggdrop said that the cmd dont exist.
It didn't take loo long and appears to be working like a champ now with my SWIG module. Here's the URL: http://www.bludgeon.org/~rayvd/source/pyEggUtils/ If you grab eggpass.c, you can use it all by itself to generate eggdrop passwords. Or grab the whole tarball if you're familiar with Python! Erro...