aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp
Commit message (Collapse)AuthorAgeFilesLines
* Tweak the definition of CamelProvider. Among other things, a provider mayDan Winship2000-04-303-15/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | * camel-provider.h: Tweak the definition of CamelProvider. Among other things, a provider may now be both a store and a transport. * camel-provider.c: Remove a lot of code we had no intention of using. This now only contains two functions: camel_provider_init to read the installed .urls files, and camel_provider_load to load and register a new provider. * camel-session.c: Remove more unused code and simplify some of the remaining code. The list of available provider modules is now stored in the session, and it handles calling camel_provider_load to load them as needed. Provider registration is now done by calling back from the module init routine, which allows a single module to register providers for multiple URL types. * providers/*: Update provider structures and init routines for the new stuff. Add a .urls file to each provider specifying what urls it handles, and install that with the library. * providers/nntp/camel-nntp-provider.c: Add hints towards supporting both news: and nntp: URLs, and using nntp as both a store and a transport. svn path=/trunk/; revision=2691
* kill camel-logDan Winship2000-04-194-46/+0
| | | | svn path=/trunk/; revision=2487
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-181-1/+1
| | | | | | | | | | | | * camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479
* always return TRUE for now. we need to check the server response to makeChris Toshok2000-04-152-48/+157
| | | | | | | | | | | | | | | | | * providers/nntp/camel-nntp-folder.c (_exists): always return TRUE for now. we need to check the server response to make sure the group exists. (_get_message_by_uid): make sure to account for the \n we add to the string after every line. * providers/nntp/camel-nntp-utils.c (get_XOVER_headers): function to get the headers using the XOVER command. (get_HEAD_headers): function to get the headers using the HEAD command on each message. slooooooow. (camel_nntp_get_headers): make this function use either XOVER or HEAD versions depending on whether or not the server extension is present. svn path=/trunk/; revision=2445
* add XXX so i can find this hardcoded string later.Chris Toshok2000-04-151-0/+1
| | | | svn path=/trunk/; revision=2433
* okay. working now.Chris Toshok2000-04-153-16/+77
| | | | svn path=/trunk/; revision=2432
* initial import of nntp store.Chris Toshok2000-04-1511-0/+2014
svn path=/trunk/; revision=2430