[NeoStats-Devel] [Commits] rev 10 - trunk

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Fri Mar 18 03:54:17 2005
New Revision: 10

Modified:
   trunk/seen.c
Log:
Update to FetchRows handlers to take size parameter

Modified: trunk/seen.c
==============================================================================
--- trunk/seen.c	(original)
+++ trunk/seen.c	Fri Mar 18 03:54:17 2005
@@ -95,12 +95,7 @@
 /*
  * Load Saved Seen Records
 */
-void loadseendata(void) {
-	seenlist = list_create( -1 );
-	DBAFetchRows( "seendata", loadseenrecords );
-	list_sort( seenlist, sortlistbytime );
-}
-int loadseenrecords(void *data)
+int loadseenrecords(void *data, int size)
 {
 	SeenData *sd;
 
@@ -109,6 +104,11 @@
 	lnode_create_append( seenlist, sd );
 	return NS_FALSE;
 }
+void loadseendata(void) {
+	seenlist = list_create( -1 );
+	DBAFetchRows( "seendata", loadseenrecords );
+	list_sort( seenlist, sortlistbytime );
+}
 int sortlistbytime( const void *key1, const void *key2 )
 {
 	const SeenData *sd1 = key1;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.