Lines Matching defs:msgid

184 static int memcache_add_to_ld(LDAP *ld, int msgid, LDAPMessage *pMsg);
186 static int memcache_dup_message(LDAPMessage *res, int msgid, int fromcache,
207 static int memcache_add(LDAP *ld, unsigned long key, int msgid,
209 static int memcache_append(LDAP *ld, int msgid, LDAPMessage *pRes);
210 static int memcache_append_last(LDAP *ld, int msgid, LDAPMessage *pRes);
211 static int memcache_remove(LDAP *ld, int msgid);
688 ldap_memcache_result(LDAP *ld, int msgid, unsigned long key)
694 "ldap_memcache_result( ld: 0x%x, msgid: %d, key: 0x%8.8lx)\n",
695 ld, msgid, key );
697 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || (msgid < 0) ) {
711 nRes = memcache_add_to_ld(ld, msgid, pMsg);
736 ldap_memcache_new(LDAP *ld, int msgid, unsigned long key, const char *basedn)
752 nRes = memcache_add(ld, key, msgid, basedn);
763 ldap_memcache_append(LDAP *ld, int msgid, int bLast, LDAPMessage *result)
768 LDAPDebug( LDAP_DEBUG_TRACE, "msgid %d, bLast: %d, result: 0x%x)\n",
769 msgid, bLast, result );
785 nRes = memcache_append(ld, msgid, result);
787 nRes = memcache_append_last(ld, msgid, result);
790 "ldap_memcache_append: %s result for msgid %d\n",
791 ( nRes == LDAP_SUCCESS ) ? "added" : "failed to add", msgid , 0 );
802 ldap_memcache_abandon(LDAP *ld, int msgid)
806 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || (msgid < 0) ) {
818 nRes = memcache_remove(ld, msgid);
1021 memcache_add(LDAP *ld, unsigned long key, int msgid,
1029 reqid.ldmemcrid_msgid = msgid;
1038 memcache_append(LDAP *ld, int msgid, LDAPMessage *pRes)
1045 reqid.ldmemcrid_msgid = msgid;
1057 memcache_append_last(LDAP *ld, int msgid, LDAPMessage *pRes)
1064 reqid.ldmemcrid_msgid = msgid;
1073 memcache_remove(LDAP *ld, int msgid)
1080 reqid.ldmemcrid_msgid = msgid;
1109 memcache_add_to_ld(LDAP *ld, int msgid, LDAPMessage *pMsg)
1115 nRes = memcache_dup_message(pMsg, msgid, 1, &pCopy, NULL);
1120 if ((*r)->lm_msgid == msgid)
1230 memcache_dup_message(LDAPMessage *res, int msgid, int fromcache,
1256 (*ppCurNew)->lm_msgid = msgid;
1393 " key: 0x%8.8lx, ld: 0x%x, msgid: %d\n",