<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
OpenSIPs uses the libmemcached library right, thats the generic API?<br>
<br>
I could fetch then store, but I will get race conditions I think.<br>
<br>
Im gonna look about writing a patch and getting it added natively.<br>
<br>
Thanks<br>
<br>
andrei dragus wrote:
<blockquote cite="mid:621421.96944.qm@web57703.mail.re3.yahoo.com"
 type="cite">
  <pre wrap="">Right now OpenSIPS does not have increment/decrement functions, primarily because memcached support is offered via the generic memcache API.

If you really need to do this, you could use a fetch followed by a store, though this may cause race conditions. 

  </pre>
  <blockquote type="cite">
    <pre wrap=""> 
Hi,



I know memcache itself has options for to increment and
decrement
values, does openSIPs have this? Ive looked everywhere and
can not find
anything, this could be very useful for many types of
custom scripts.



Thanks


    </pre>
  </blockquote>
  <pre wrap=""><!---->


      

_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title></title>
<font color="#852529">Brad Bendy</font><font color="#852529"><br>
</font><font color="#852529">Chief Technical Officer</font><font
 color="#852529"><br>
</font><font color="#852529"><a class="moz-txt-link-abbreviated" href="mailto:brad.bendy@benganetworks.com">brad.bendy@benganetworks.com</a></font><font
 color="#852529"><br>
</font><font color="#852529"><br>
</font><font color="#852529">Benga Networks, LLC.</font><font
 color="#852529"><br>
</font><font color="#852529">10115 E. Bell Rd, Ste. 107-451</font><font
 color="#852529"><br>
</font><font color="#852529">Scottsdale, AZ 85260-2189</font><font
 color="#852529"><br>
</font><font color="#852529"><br>
</font><font color="#852529">Toll Free: &nbsp;&nbsp; 877-44-BENGA</font><font
 color="#852529"><br>
</font><font color="#852529">Local:&nbsp;&nbsp; &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 480-970-5200</font><font color="#852529"><br>
</font><font color="#852529">Cell:&nbsp;&nbsp; &nbsp;&nbsp;
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 602-550-4004</font><font color="#852529"><br>
</font><font color="#852529">Fax:&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; 866-852-4468</font><br>
</div>
</body>
</html>