Re: Support Of cURL on an embedded device
Date: Thu, 7 Aug 2008 10:52:02 -0700
On Wed, Aug 06, 2008 at 05:25:43PM +0800, Nagaraj Math (RBEI/ECE2) wrote:
> Do you mean if we have a TCP/IP statck implemented then we could use cURL
> The GPRS modem we are going to use has a TCP/IP stack implemented, then
> according to you we should be able use the existing libcurl with little bit
> tweaking the code to implement AT commands for GPRS modem.
> We are planning have a generic solution which should be compatible with any
> kind of microcontroller.
> Please let me know your opinion.
For reference, here's a list of the external symbols that libcurl requires
when compiled for FTP only on a Linux glibc system. If these are available
in your OS-less environment, then you'll have a fair shot at making it work
(and libcurl can even work around the lack of a few of them):
accept alarm atoi bind calloc close connect fclose fcntl fdopen fflush
fgets fopen64 fprintf fputc fread free fseek fwrite getenv geteuid
gethostbyname getpwuid getsockname getsockopt gettimeofday gmtime htons
inet_addr inet_ntoa inet_pton ioctl listen malloc memchr memcmp memcpy
memmove memset mktime ntohs poll printf realloc recv send setsockopt
sigaction siglongjmp socket sprintf sscanf stderr stdin stdout strcasecmp
strcasestr strcat strchr strcpy strdup strerror strlen strncasecmp
strncpy strrchr strstr strtok_r strtol strtoll strtoul time toupper
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-08-07