Re: question: method return status values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-06-09 at 10:46 -0400, Michael DeHaan wrote:

> Generally all methods in an API /are/ going to have different things 
> they return, because
> this is how API's work.

ok

> 
> > I tried to modify my local installation but I found some troubles
> > because some methods don't need a status, I guess we can create a fake
> > of return status for these methods. what do you think? 

for example when a method don't require to have a status, return
everytime 0 as status value.


> Well, you are also doing some heinous evil things like parsing the 
> return from the command line (per your previous post).
> Things would get much easier if you use XMLRPC directly and we work on 
> getting that XMLRPC API into the overlord
> over local socket.   I'd like to see that happen first from you guys 
> before we see whether "API standardization" is neccessary, because
> I imagine parsing Func is extremely fragile and the cause of most of 
> your pain there.

uhm, you are right...

thanks for feedback

luca

-- 
Today is Setting Orange, the 14th day of Confusion in the YOLD 3174

Q:	Are we not men?
A:	We are Vaxen.

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux