From: Gaute Hope Date: Thu, 6 Nov 2014 10:14:07 +0000 (+0000) Subject: Re: [WIP PATCH 3/4] lib: API to retrieve database revision and UUID X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74061ba040377202359923a5e213432f122ba649;p=notmuch-archives.git Re: [WIP PATCH 3/4] lib: API to retrieve database revision and UUID --- diff --git a/bb/500f35757697c68cc11f5db884bb1a059e3906 b/bb/500f35757697c68cc11f5db884bb1a059e3906 new file mode 100644 index 000000000..e4d07d03b --- /dev/null +++ b/bb/500f35757697c68cc11f5db884bb1a059e3906 @@ -0,0 +1,81 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 0D06B431FB6 + for ; Thu, 6 Nov 2014 02:14:17 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ZAQYEzmkBYRS for ; + Thu, 6 Nov 2014 02:14:11 -0800 (PST) +Received: from mail-la0-f51.google.com (mail-la0-f51.google.com + [209.85.215.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 3E0A3431FAE + for ; Thu, 6 Nov 2014 02:14:11 -0800 (PST) +Received: by mail-la0-f51.google.com with SMTP id q1so2342774lam.10 + for ; Thu, 06 Nov 2014 02:14:08 -0800 (PST) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to + :user-agent:message-id:mime-version:content-type + :content-transfer-encoding; + bh=SLdT/pntm/ZmgaK5HBvRlMAOVvq13RrglNPUamC2NL8=; + b=Ews9xfjczxawnCv9pU7MM7msMFoMsWV8zFVYE6RkGT6FQeymaGyx0kCtRLP7yna7ur + xVGTJ+Zs63sOlof0d5HWsIDq7Y14hy6tSUSMqgsM0VXv+SeJTYgf1e303t8yzb11QVYz + QalQietaS4SJuWLnwrXqOUkepmkdISylbThS67Pt1V+Tal9AyoNYxnjM2JFMU7ohkgRC + e261le2JlAscvpmq21ufIYUlqeXCFu8S1L538lyU1jZPEiZ8kkHa3irPOeFzZWTwbS3D + rPAU7YqPYeCrCFPABn1zh/AP87GSAPt8bSCwli49V1QEqZUlG00pOw+9K0eCQtKWdtub + kpQQ== +X-Gm-Message-State: + ALoCoQmHxS3HL3IBHOSEsS/Y1ZkWOA+7azkCHO/gJ/ngX58oJoPznunzZ5tvLUxOt2+G4sb9mIvl +X-Received: by 10.112.170.99 with SMTP id al3mr4046623lbc.17.1415268848168; + Thu, 06 Nov 2014 02:14:08 -0800 (PST) +Received: from localhost ([128.39.46.106]) + by mx.google.com with ESMTPSA id tl8sm2366103lbb.47.2014.11.06.02.14.06 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Thu, 06 Nov 2014 02:14:07 -0800 (PST) +Date: Thu, 06 Nov 2014 10:14:07 +0000 +From: Gaute Hope +Subject: Re: [WIP PATCH 3/4] lib: API to retrieve database revision and UUID +To: notmuch@notmuchmail.org, Austin Clements +References: <1413181203-1676-1-git-send-email-aclements@csail.mit.edu> + <1413181203-1676-4-git-send-email-aclements@csail.mit.edu> +In-Reply-To: <1413181203-1676-4-git-send-email-aclements@csail.mit.edu> +User-Agent: astroid/v416d6d30 (https://github.com/gauteh/astroid) +Message-Id: <1415268770-astroid-0-1jvxka1y1s-1572@strange> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8; format=flowed +Content-Transfer-Encoding: quoted-printable +Cc: Austin Clements +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 06 Nov 2014 10:14:17 -0000 + +Hi, + +there's a typo in ..get_revision (revisison). + +Cheers, Gaute + +Excerpts from Austin Clements's message of October 13, 2014 8:20: +> +unsigned long +> +notmuch_database_get_revisison (notmuch_database_t *notmuch, +=