[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kinosearch-commits
Subject:    [Kinosearch-commits] r3546 - trunk/c_src/KinoSearch/Store
From:       marvin () rectangular ! com
Date:       2008-06-27 3:51:33
Message-ID: 200806270351.m5R3pWxD031693 () mailer ! progressive-comp ! com
[Download RAW message or body]

Author: creamyg
Date: 2008-06-26 21:05:46 -0700 (Thu, 26 Jun 2008)
New Revision: 3546

Modified:
   trunk/c_src/KinoSearch/Store/Lock.bp
   trunk/c_src/KinoSearch/Store/Lock.c
Log:
Add accessor for Lock's filename member.


Modified: trunk/c_src/KinoSearch/Store/Lock.bp
===================================================================
--- trunk/c_src/KinoSearch/Store/Lock.bp	2008-06-27 04:04:59 UTC (rev 3545)
+++ trunk/c_src/KinoSearch/Store/Lock.bp	2008-06-27 04:05:46 UTC (rev 3546)
@@ -66,6 +66,11 @@
     void
     Clear_Stale(Lock *self);
 
+    /** Accessor for object's filename attribute.
+     */
+    CharBuf*
+    Get_Filename(Lock *self);
+
     void
     Destroy(Lock *self);
 }

Modified: trunk/c_src/KinoSearch/Store/Lock.c
===================================================================
--- trunk/c_src/KinoSearch/Store/Lock.c	2008-06-27 04:04:59 UTC (rev 3545)
+++ trunk/c_src/KinoSearch/Store/Lock.c	2008-06-27 04:05:46 UTC (rev 3546)
@@ -57,6 +57,9 @@
     FREE_OBJ(self);
 }
 
+CharBuf*
+Lock_get_filename(Lock *self) { return self->filename; }
+
 bool_t
 Lock_obtain(Lock *self)
 {


_______________________________________________
kinosearch-commits mailing list
kinosearch-commits@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic