~ubuntu-branches/debian/squeeze/netatalk/squeeze

« back to all changes in this revision

Viewing changes to libatalk/cnid/db3/cnid_db3_resolve.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-02-02 19:59:05 UTC
  • mfrom: (8.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090202195905-732t6wxk8jzsb91r
Tags: 2.0.4~beta2-4.1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes: LP: #318665
  - Changed dependency from libdb-dev to libdb4.6-dev to correct
    FTBFS due to an issue caused by mismatches on installed binaries
    and development headers (db4.7 is installed under a different soname
    which breaks a check in netatalk) (LP: #262991)
  - debian/control:
    + Replace libltdl3-dev with libltdl7-dev.
    + Recommend db4.6-util instead of db4.2-util as we build netatalk with
      db4.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: cnid_db3_resolve.c,v 1.1.4.2 2003/10/21 16:23:54 didg Exp $
 
2
 * $Id: cnid_db3_resolve.c,v 1.1.4.2.2.1 2005/09/27 10:40:41 didg Exp $
3
3
 */
4
4
 
5
5
#ifdef HAVE_CONFIG_H
27
27
#include "cnid_db3_private.h"
28
28
 
29
29
/* Return the did/name pair corresponding to a CNID. */
30
 
char *cnid_db3_resolve(struct _cnid_db *cdb, cnid_t *id, void *buffer, u_int32_t len) {
 
30
char *cnid_db3_resolve(struct _cnid_db *cdb, cnid_t *id, void *buffer, size_t len) {
31
31
    CNID_private *db;
32
32
    DBT key, data;
33
33
    int rc;