[master] ede3d4c Add comment based on discussion yesterday

Poul-Henning Kamp phk at FreeBSD.org
Thu Aug 21 11:50:48 CEST 2014


commit ede3d4cf584966b20259710a6d36f5b8a189a883
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Aug 21 08:50:53 2014 +0000

    Add comment based on discussion yesterday

diff --git a/bin/varnishd/cache/cache_obj.c b/bin/varnishd/cache/cache_obj.c
index 3a3913a..a41d089 100644
--- a/bin/varnishd/cache/cache_obj.c
+++ b/bin/varnishd/cache/cache_obj.c
@@ -24,6 +24,18 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
+ *
+ * Primary API:
+ * 	ObjNew		Associate stevedore with oc
+ * 	ObjGetSpace	Add space
+ * 	ObjExtend	Commit space
+ * 	ObjDone		Object completed
+ * 	ObjGetLen	Len of committed space
+ * 	ObjIter		Iterate over committed space
+ * 	ObjReserveAttr	Attr will be set later
+ * 	ObjSetAttr	Set attr now
+ * 	ObjGetAttr	Get attr no
+ * 	ObjRelease	Done with attr ptr
  */
 
 #include "config.h"



More information about the varnish-commit mailing list