Starting writing a component quickly :-) (Was: Re: [Gambas-user] Gambas and AX25)

Benoit Minisini gambas at ...1...
Sun Sep 5 22:25:29 CEST 2004


On Sunday 05 September 2004 22:15, Frank Berg wrote:
> hi,
>
> tnx, i was try this out include step 7.. i can see that the compiler try to
> compile my ax25 component (only header).
> there are none function written, so the compiler write me: ax25 is
> disabled.
>
> the next step ist to write the ax25.c
> and make the function "ax25_config_load_ports()" accessable..
> the function returns an integer with an counter of avaibled ax25
> kernal-ports
>
> this function are ready and declared in the ax25libs, in the axconfig.h
> file.
>
> an ax25 tool like listen use this function so:
> if (ax25_config_load_ports() == 0)
>       fprintf(stderr,"listen: no AX.25 port data configured\n");
>
>
> i have includet it    #include <axconfig.h> in the ax25.c
>
> my question:
>
> how must i implement this function in gambas so i maybe can ask
>
> if gb_ax25_config_load_ports = 0 then print "listen: no AX.25 port data
> configured"
>
>
> frank
>

I don't really understand what you want :-( Could you try to reformulate your 
question differently ? I admit that I know nothing about ax25...

And just two remarks :-) 

1) Let's talk about that on the good mailing-list (devel)

2) Please put the answer *after* the quoted text, it is far more readable.

Thanks in advance,

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list