Commit Graph

76 Commits

Author SHA1 Message Date
Nicholas Hughart 7afd0b7173 Add the following functions to Ecore_Con API:
ecore_con_server_name_get
ecore_con_server_port_get



SVN revision: 51670
2010-08-27 05:16:00 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Mike Blumenkrantz 122ec75b01 return void* for data functions; depend on user not to be stupid (hahahahahah)
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?


SVN revision: 50692
2010-07-30 20:33:32 +00:00
Cedric BAIL 8f423ef340 * ecore: fix comment.
SVN revision: 50642
2010-07-29 12:29:19 +00:00
Mike Blumenkrantz 36601b4f78 more doxy than anyone will EVER need. EVER.
SVN revision: 50629
2010-07-29 01:28:18 +00:00
Mike Blumenkrantz 920c508d86 these functions return a const char *, so they should actually return a const char *
SVN revision: 50622
2010-07-28 22:32:39 +00:00
Mike Blumenkrantz 0bbca7c75d fix cert support, split functions for client/server
note: crl checking and cert verification do not currently function


SVN revision: 50603
2010-07-28 18:25:46 +00:00
Christopher Michael 5f64c38549 Fix up a little formatting (wrt wrapping).
SVN revision: 50531
2010-07-27 06:33:47 +00:00
Mike Blumenkrantz f0053045e4 add full ssl certificate support to ecore_con: call ecore_con_ssl_cert_add("/path/to/cert.pem") and then create the server object with the ECORE_CON_LOAD_CERT flag
also may have accidentally ruined the formatting on a couple files and started an hour-long discussion over efl formatting scripts to conceal the fact that I used uncrustify to reformat everything


SVN revision: 50529
2010-07-27 06:30:27 +00:00
Mike Blumenkrantz 12c294af32 doxy
SVN revision: 50527
2010-07-27 01:05:13 +00:00
Mike Blumenkrantz 021fe34df8 big doxy update
SVN revision: 50526
2010-07-27 01:00:24 +00:00
Cedric BAIL 7726478790 * ecore: add ecore_con_lookup for dns request retrieval.
NOTE: ecore_con_info_get is now private has it can't be used outside of Ecore_Con.


SVN revision: 50425
2010-07-22 11:32:55 +00:00
Carsten Haitzler 79f1448682 CEEEEEEEEEEEEEEEEEEEEEEEEDRIC! *spank*
SVN revision: 48907
2010-05-16 03:04:18 +00:00
Rui Seabra b923e09da0 This commit implements http auth support; in order to avoid exposing too much of curl's internal workings, I opted to have a safety parameter in order to choose between CURLAUTH_ANY and CURLAUTH_ANYSAFE.
SVN revision: 48715
2010-05-09 15:06:06 +00:00
Hannes Janetzek 9dc6c78922 added fuction to send httposts created with curl formadd.
SVN revision: 48651
2010-05-06 20:18:39 +00:00
Vincent Torri f7b7217437 remove ecore_con_dns
SVN revision: 47077
2010-03-09 12:57:38 +00:00
Vincent Torri 89594ec456 fix declaration of struct addrinfo
SVN revision: 46434
2010-02-24 17:52:54 +00:00
Vincent Torri 366c893967 never use macro defined by configure in an exported header
SVN revision: 46387
2010-02-23 13:11:54 +00:00
Sebastian Dransfeld c25a56fac7 Ecore_Data gone
SVN revision: 45203
2010-01-15 21:47:27 +00:00
Cedric BAIL 7ff9045aba * ecore_con_dns: Mark it deprecated as it should be gone since months now.
SVN revision: 44096
2009-12-01 14:31:16 +00:00
Cedric BAIL 1d16f186fb * ecore_con: Add support for TCP_NODELAY.
SVN revision: 43818
2009-11-20 10:58:19 +00:00
dieb e6b9bea5d8 Add missing prototype for ecore_con_url_response_headers_get().
SVN revision: 42048
2009-08-27 21:21:43 +00:00
Cedric BAIL caf64d8849 * ecore_con: Add broadcast support from Atton Jonathan.
SVN revision: 41701
2009-08-12 11:24:33 +00:00
Cedric BAIL c7f13ac781 * ecore_con_url: Patch from Andre Dieb with a few modification.
SVN revision: 41699
2009-08-12 09:47:04 +00:00
Cedric BAIL f05eb71b29 * ecore_con_url: Add some constness.
SVN revision: 39504
2009-03-16 13:46:16 +00:00
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Cedric BAIL 642d8686de Remove ecore_hash and eina_hash use from ecore.
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Cedric BAIL 632615fd1f Fix entrance and perhaps exquisite too.
SVN revision: 36545
2008-10-09 12:30:19 +00:00
Carsten Haitzler cad561706f go back to svnrev 36473 for ecore_con - these ipv6 changes broke exquisite on boot - so unix sockets have been compromised somehow in the changes. cannot debug because system is stuck in boot and wont continue. narrowed down break to this change
SVN revision: 36540
2008-10-09 00:46:29 +00:00
Cedric BAIL 0ad506a441 Fix some warning.
SVN revision: 36532
2008-10-08 16:36:14 +00:00
Cedric BAIL f3ace08723 More cleanup and export a replacement for ecore_con_dns_lookup.
SVN revision: 36497
2008-10-07 12:41:36 +00:00
Cedric BAIL 554ad88eff Starting work for IPv6 support of ecore_con. Use getaddrinfo and getnameinfo instead of gethostbyname.
Patch from Arnaud de Turckheim.



SVN revision: 36475
2008-10-06 09:41:39 +00:00
Sebastian Dransfeld cdb45ce04a Rename REMOTE_SYSTEM to REMOTE_TCP, keep SYSTEM as #define (should be
removed in the future)


SVN revision: 36249
2008-09-25 11:37:01 +00:00
Cedric BAIL 6bbe0efc55 Patch from Matt Barclay that add UDP client support to ecore_con.
SVN revision: 36247
2008-09-25 10:14:31 +00:00
Cedric BAIL 36fdd93f13 Add multicast support thanks to Matt Barclay <mbarclay@gmail.com>.
SVN revision: 36046
2008-09-17 15:08:48 +00:00
Sebastian Dransfeld 361ddf6397 Seems that I forgot to upload the header changes when changing
ftp upload.


SVN revision: 35027
2008-07-08 04:08:52 +00:00
Eric Schuele 387d29e262 - libgen.h is required on FreeBSD for basename(), and will provide
POSIX basename() for those of you using glibc.
 - Silence some compiler warnings.


SVN revision: 34926
2008-06-27 16:00:55 +00:00
Sebastian Dransfeld 9fa6620817 Don't complain when we don't include netdb.h
SVN revision: 34825
2008-06-14 10:18:00 +00:00
Cedric BAIL c56d5ba638 Add FTP upload support for Ecore_Con from Massimiliano Calamelli.
SVN revision: 34683
2008-05-28 09:02:39 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
Peter Wehrfritz 164190d377 compile on FreeBSD again
SVN revision: 33984
2008-03-11 19:51:32 +00:00
Carsten Haitzler 2f4173e229 cedrics ecore_cn_url stuff for file downloads
SVN revision: 33970
2008-03-09 16:43:32 +00:00
Peter Wehrfritz 69c774cbe6 add doxy stubs, so that the function names at least appear in the api references
Thanks to mcalamelli


SVN revision: 33731
2008-02-11 23:24:11 +00:00
Sebastian Dransfeld 8cb8f0e249 Add support for TLS
SVN revision: 33400
2008-01-08 21:28:51 +00:00
Sebastian Dransfeld d67f5ab32f Support SSLv3
SVN revision: 33398
2008-01-08 21:06:43 +00:00
Christopher Michael ac03429c22 Reword Ecore_Con doxy a little to be a bit nicer.
SVN revision: 32916
2007-11-30 08:10:37 +00:00
Kim Woelders eb2aa4a3d0 Add some const's.
SVN revision: 32132
2007-10-21 15:16:14 +00:00
Sebastian Dransfeld 3a84f04c4f formatting.
SVN revision: 31825
2007-09-26 17:18:52 +00:00
Sebastian Dransfeld fcad0da826 formatting
SVN revision: 31823
2007-09-26 16:34:14 +00:00
Gustavo Sverzut Barbieri 9acabdd1c5 Ecore_Con fixes and improvements.
Bugs:
 - data buffer we are receiving must be copied, or we could receive
   garbage in the event handler.
 - complete event show up before we receive the last data event.

Improvements:
 - Use ECORE_MAGIC.
 - Status code is no longer curl internal status, but ftp or http return
   code (More usefull than CURLE_OK).
 - Add a time condition on requested url (see HTTP code 304).
 - Add progress events also (should work but not really tested).
 - Add data_set/data_get.

Closes bug #217.

Patch by Cedric BAIL.


SVN revision: 31822
2007-09-26 16:01:04 +00:00