[Libwebsockets] How to resolve this error -- too many arguments to libwebsockets_serve_http_file()

Dinesh Guleria din.gulu.er at gmail.com
Sun Apr 20 06:51:08 CEST 2014


Is their some read me document to describe what is role of each API :---
http://warmcat.com/libwebsockets/2013/01/12/libwebsockets-org.html
http://libwebsockets.org/trac/libwebsockets


Did not found here .. ?


On Sun, Apr 20, 2014 at 10:16 AM, Dinesh Guleria <din.gulu.er at gmail.com>wrote:

> should i remove this 5th argument NULL ?
>
> //DInesh
>
>
> On Sat, Apr 19, 2014 at 11:16 PM, Dinesh Guleria <din.gulu.er at gmail.com>wrote:
>
>> See the attached printshot .. following is the number arguments took by
>> this system call.
>> /usr/local/inclue/libwebsockets.h
>>
>>
>> On Sat, Apr 19, 2014 at 10:42 PM, Dinesh Guleria <din.gulu.er at gmail.com>wrote:
>>
>>> Hi ,
>>>
>>> I am facing error due to the compatibility of function call ,
>>> In our project we are using function call -- libwebsockets_serve_http_file()
>>> with five arguments.
>>>
>>> Now how to resolve this error :---
>>> to many argument to function int libwebsockets_serve_http_file()
>>>
>>> Our file, give 5 argument to this system call libwebsockets_serve_http_file
>>> :----
>>>
>>> https://github.com/grodansparadis/vscp_software/blob/master/src/vscp/common/controlobject.cpp
>>>
>>>
>>>
>>> libwebsockets_serve_http_file(context,
>>>
>>>                 wsi,
>>>                 path.ToAscii(),
>>>                 mime.ToAscii(),
>>>
>>> 		NULL )
>>>
>>>
>>> Please suggest which older version of libwebsocket uses 5 argumnets to function call libwebsockets_serve_http_file() so that i can use that library to resolve this error ?
>>>
>>>
>>>
>>> Or if some alternative way is their to resolve this error ?
>>>
>>>
>>>
>>> Regards,
>>> Dinesh
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20140420/1ae94930/attachment-0001.html>


More information about the Libwebsockets mailing list