From patchwork Tue May 14 10:51:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Bursztyka X-Patchwork-Id: 243670 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4FF9F2C00AF for ; Tue, 14 May 2013 20:51:36 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753398Ab3ENKvf (ORCPT ); Tue, 14 May 2013 06:51:35 -0400 Received: from mga01.intel.com ([192.55.52.88]:2739 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753284Ab3ENKve (ORCPT ); Tue, 14 May 2013 06:51:34 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 14 May 2013 03:51:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,670,1363158000"; d="scan'208";a="333805971" Received: from rd-180.fi.intel.com ([10.237.68.33]) by fmsmga001.fm.intel.com with ESMTP; 14 May 2013 03:51:33 -0700 From: Tomasz Bursztyka To: netfilter-devel@vger.kernel.org Cc: Tomasz Bursztyka Subject: [libnftables PATCH 3/7] rule: declare nft_rule_list structure at a proper place Date: Tue, 14 May 2013 13:51:18 +0300 Message-Id: <1368528682-10041-4-git-send-email-tomasz.bursztyka@linux.intel.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1368528682-10041-1-git-send-email-tomasz.bursztyka@linux.intel.com> References: <519216B6.7060701@linux.intel.com> <1368528682-10041-1-git-send-email-tomasz.bursztyka@linux.intel.com> Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Signed-off-by: Tomasz Bursztyka --- include/libnftables/rule.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h index 50222c5..e7396a4 100644 --- a/include/libnftables/rule.h +++ b/include/libnftables/rule.h @@ -54,6 +54,8 @@ struct nft_rule_expr_iter *nft_rule_expr_iter_create(struct nft_rule *r); struct nft_rule_expr *nft_rule_expr_iter_next(struct nft_rule_expr_iter *iter); void nft_rule_expr_iter_destroy(struct nft_rule_expr_iter *iter); +struct nft_rule_list; + struct nft_rule_list *nft_rule_list_alloc(void); void nft_rule_list_free(struct nft_rule_list *list); void nft_rule_list_add(struct nft_rule *r, struct nft_rule_list *list);