From patchwork Wed Jul 1 01:39:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 50492 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F1B8B229DF for ; Wed, 1 Jul 2015 01:40:11 +0000 (UTC) Received: by lagh6 with SMTP id h6sf8443065lag.0 for ; Tue, 30 Jun 2015 18:40:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=ipynaYXkgzCspzCjAW55f+p5wgqBonQOWuU/OQKAZWE=; b=UxKCkhwAENdADb2UqO5hlhtKFyi0Wr8emAZF7TUHDwF4hoGeVPbXmwUiKAiOWxAuHp XAPH9bydycHxKv/2UCXksPAwHdjaPQU2mOAOBgR8vVLd2xoj6hvYhSc7+edFhZTn4aDk WmsgGa4uhjQQmdEg7+R4A+fTpFaPT2qOTE7F3hltoExh8D1k6PZs5WdkgENeoZ+jhuVs DbJ4gworKvK3jl8r1P51klzJyMfexoq2qyV7YMBoFqBsGPaXCipVTnSeZ36NhnwlfntE 7bCpUHUwkABgpL/B2CgcyMwSjx9VVtXwMxOo8cvpIjnB7ViZVszgPZTB6N77ul4GryH2 7t0g== X-Gm-Message-State: ALoCoQm28WLcLq/rP5E1aAUKpByekFQPEj2+4izz5wZ4ORfoj/Y4IfYZHWIayOReEZroM33dM0hZ X-Received: by 10.112.14.101 with SMTP id o5mr15652091lbc.3.1435714810833; Tue, 30 Jun 2015 18:40:10 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.136 with SMTP id q8ls134716laj.91.gmail; Tue, 30 Jun 2015 18:40:10 -0700 (PDT) X-Received: by 10.112.210.9 with SMTP id mq9mr22529159lbc.4.1435714810544; Tue, 30 Jun 2015 18:40:10 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id z11si248292lbn.83.2015.06.30.18.40.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2015 18:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbnk3 with SMTP id k3so4019582lbn.1 for ; Tue, 30 Jun 2015 18:40:10 -0700 (PDT) X-Received: by 10.112.220.7 with SMTP id ps7mr22359926lbc.72.1435714810414; Tue, 30 Jun 2015 18:40:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp269596lbb; Tue, 30 Jun 2015 18:40:09 -0700 (PDT) X-Received: by 10.55.49.85 with SMTP id x82mr28407613qkx.49.1435714809140; Tue, 30 Jun 2015 18:40:09 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m70si403645qhb.89.2015.06.30.18.40.08; Tue, 30 Jun 2015 18:40:09 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id E93B961EFF; Wed, 1 Jul 2015 01:40:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 00A6D61F08; Wed, 1 Jul 2015 01:39:40 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 84F0861D5A; Wed, 1 Jul 2015 01:39:30 +0000 (UTC) Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by lists.linaro.org (Postfix) with ESMTPS id 7CB4561D5A for ; Wed, 1 Jul 2015 01:39:29 +0000 (UTC) Received: by obbkm3 with SMTP id km3so18873680obb.1 for ; Tue, 30 Jun 2015 18:39:29 -0700 (PDT) X-Received: by 10.202.48.21 with SMTP id w21mr21666567oiw.95.1435714769387; Tue, 30 Jun 2015 18:39:29 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id p184sm226149oig.10.2015.06.30.18.39.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Jun 2015 18:39:28 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 30 Jun 2015 20:39:13 -0500 Message-Id: <1435714761-23951-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1435714761-23951-1-git-send-email-bill.fischofer@linaro.org> References: <1435714761-23951-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 02/10] api: event: change to odp_event_type_t X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Bill Fischofer --- include/odp/api/event.h | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/include/odp/api/event.h b/include/odp/api/event.h index 63b476f..69d23b6 100644 --- a/include/odp/api/event.h +++ b/include/odp/api/event.h @@ -36,23 +36,10 @@ extern "C" { */ /** - * @def ODP_EVENT_BUFFER - * Buffer event - */ - -/** - * @def ODP_EVENT_PACKET - * Packet event - */ - -/** - * @def ODP_EVENT_TIMEOUT - * Timeout event - */ - -/** - * @def ODP_EVENT_CRYPTO_COMPL - * Crypto completion event + * @typedef odp_event_type_t + * ODP event types: + * ODP_EVENT_BUFFER, ODP_EVENT_PACKET, ODP_EVENT_TIMEOUT, + * ODP_EVENT_CRYPTO_COMPL */ /** @@ -62,7 +49,7 @@ extern "C" { * * @return Event type */ -int odp_event_type(odp_event_t event); +odp_event_type_t odp_event_type(odp_event_t event); /** * Get printable value for an odp_event_t