Message ID | E536A8E2-7126-4EAC-BDA1-23196243E936@siemens.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBDD6BWV65QPBB7NUVSZQMGQEDGGPO2Q@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=uCjSvVX/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::113a; helo=mail-yw1-x113a.google.com; envelope-from=swupdate+bncbdd6bwv65qpbb7nuvszqmgqedggpo2q@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-yw1-x113a.google.com (mail-yw1-x113a.google.com [IPv6:2607:f8b0:4864:20::113a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W0S9v1YRbz1ydW for <incoming@patchwork.ozlabs.org>; Fri, 14 Jun 2024 02:12:51 +1000 (AEST) Received: by mail-yw1-x113a.google.com with SMTP id 00721157ae682-62a248f46aasf17755217b3.0 for <incoming@patchwork.ozlabs.org>; Thu, 13 Jun 2024 09:12:50 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1718295167; cv=pass; d=google.com; s=arc-20160816; b=Qitj35x0v9vhWFIzCv9ni5KeFvXH1QdR/ULxWeJKHi2LTJRCC6Sxgy5qeRn86xDhPR tWyLvNNIQTZF8dw5kdxWBiuTQPx6VXhtFgQDnzu7y4x7MY6q9u54RRT5gTXrbBh5zIID ZblMx9oaX5Gc0G6jTr1YWzecKRSphHSWqr5Zu/lCO0Dx8FQY9Rumjp6QpmwwU7wryeZW cuujz6JmLWryS2A4jXNKYdts+JIItuh8sTlZRtWpzDN5Oe+6LtoKflj82TN7Zi3WzlSv lXedu+0mbkUQgS55ot+ga8dFA2q3EK+/P5dNlrnrWM7Ia1Qyi3fqpBVWrbIOiX3vbuin ZiDA== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:content-id :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:dkim-signature; bh=o/Z6mdUJzWiA5zwtFXXA8xNkgYgYUlyBJTwsUcC8Oqo=; fh=7crHKsjZL1wH2C4znRrdz23CEW5L0vLDhKqEEfYl0qA=; b=FU9X/OdwXrsohu5C1CGeUxw7quaelc8Jcp1zgKV09OBaoXuCqU5+Y4WQ3H7fDS5zFL jSn/vTG3fmKBKkcBknX1I/5GCamVxDOEJrofJP37IBN3vVL9t4myDHwkY6zGVXzLQpGS 4vean2ZGJXHQR/7U8SB2VUOzkXWXsCUnJu+Xath1j6uNCRck0doRAojG728iCkjt62Hw uXN5g9CHerj3ZsqpsBxT8DJv+zOLqC/RVmLxeYt14UecDnvmx+ZxHAg0Feqmt8UKOBW0 yG5hVpTe3esT94FH9NdeFD5Ftk9XkpDqrFKrHK2zvsUURiy+Fgmn+KPwFvgBYuxjcoW7 qSBQ==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=MVPHpTKX; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::601 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718295167; x=1718899967; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from:from:to :cc:subject:date:message-id:reply-to; bh=o/Z6mdUJzWiA5zwtFXXA8xNkgYgYUlyBJTwsUcC8Oqo=; b=uCjSvVX/Zvd4FzEiNIxRVnM06yDaL6wvrso1estMit5ICgt0kD5+0dZCFDL6/pD0+i 6F8c+pxHvTPvLffTDs17Qik2vNh6b+/m7ErszjDlyqzF8sBA7+TuyrH042FlD+fp7y1x VFl0+60DVVpvHZORDo9NgbUErUePNi3YZnQ4v3kypDaJ7hd3oeUd54V4arVf7TSfOpQH QJd4TQ3hiJEAbg80e6GoizL97thwKyBXJ0rP3UkEYkP3iJ9Mei9ryQ7gcQJc7QQk9QLZ b+EU3R+ArjWZKJsLN9RQi62sLDffPN+saRXjYC+yeqH1z7OTCx4Lu6ObVBi/ghO/3Yff c5oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718295167; x=1718899967; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o/Z6mdUJzWiA5zwtFXXA8xNkgYgYUlyBJTwsUcC8Oqo=; b=co87T+sXOIg5t7v+67q+mLZaAzsb+GSRvXp52PPMhm0muN3ywgPBuuL4JNZDYNLn05 kT0E19RHKLU6F777A9YL9bq1aj9L7OX1NDcUCEkSmJ9sON0DXuIb2bBgrc8kMrJLLz5j EYecReonBOM/ItCZNnQewZDHHXiCTWHa9QwWSgwN9VmSvms55j/rIBiM1F5LMS53rkYq vJjAYwzFigBYasPCN874pe/N8Je2cMsnsYA4j7tYmWZjxWY9E6FTVycCLff+AcdjBkP4 Wm7ICNob5LkfuJ+1xHGMEBE3kFGXedLBbr3+xEEctUn25rqWXeFLix9cQDYxt51+hifa ZfZw== X-Forwarded-Encrypted: i=3; AJvYcCU/SsKvXzodft9Ee+LNaZHHwhE2LhLwt3qW9h2oq3UwNB6f3XNmguMXcN7v/aBZtTCrYWAgYR3bGCPj01M/elm9NZ3u4Z1K2tHU33jsiw== X-Gm-Message-State: AOJu0YwCt8UNbrk9+NP1utg0paYl4Zm6ODpZfQVH3fYZgFZmqDOCJswo YdwvvF2WotwS9r51L5yMPf71Mxp/ieet5vh/Us0EuLj7N+qxI7wL X-Google-Smtp-Source: AGHT+IGDfgoaqY2JREzOdXuPM3Ttd8qJmdekNZR6UWEaNbr9sHM9mvSbZZ4lRECrYQisuRx9jabVcQ== X-Received: by 2002:a25:b10f:0:b0:dfa:fcdd:6cfc with SMTP id 3f1490d57ef6-dfe66a60159mr5238461276.22.1718295166432; Thu, 13 Jun 2024 09:12:46 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6902:154a:b0:dfe:12ad:a295 with SMTP id 3f1490d57ef6-dfefe9da335ls1927258276.1.-pod-prod-02-us; Thu, 13 Jun 2024 09:12:45 -0700 (PDT) X-Received: by 2002:a0d:ea15:0:b0:630:de2f:79b8 with SMTP id 00721157ae682-630de2f7afamr28990297b3.13.1718295165006; Thu, 13 Jun 2024 09:12:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718295164; cv=pass; d=google.com; s=arc-20160816; b=R6SSqIlS33WA0nGQSNANDlibKKj1ettu7D5EWajaK1rg6EFVLDsFZ5I8cgCF9bb8bt p5mMJs8zyXxS0tmNux3o3XfKtnuxd4XwiY5oYLQjna40hH5RdkP8MEBWlDhWSCcJPydq JDX/CdszFwxUxtRH5HgoOTecTDlTrd0PncrNJYxQ8Oim/dTzpvzoxMrHHla34o/xSRuE AAkKgDNzTzg1adyVXW074SZaAEaz6NWSi8bVoSCRkuAmE/q3lnaWgkklH2xe8BuW97AI 8NGx5bIOV1MF+DWKjWaPUv/V/m3waT8JPahkfQBa64Fc+wprH3c+40D2jWvXe7SXiU0P tmGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-id:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from:dkim-signature; bh=AbrI62csSRhLJHjiS4Z3hW43l1/vFlouUAiZW8QpIyA=; fh=ZnR/GV7fAozRX3tpIO3vp/Jbul8ISZhdVjghlw9eWq0=; b=tyAylJnHMSi0axIRDFwQK80mk9BziOe+burfEaJqA6qVkuUF8rM8ozpaYxzunPFpB0 A+oAdoZfWXks7DwncKxi8aaM3ftOVLaExsSKf/XdqiDMzCRC3v477QfD/X0eJ5f1JYOr EaIbAUEP3zOd1W6mqNCzi+6Mm5k/RT2TFL9HUr+L11g3yTr/Sl9/hKcUcc89jTiNp2tw R8um7JcJ8THIDZLBd44mDvzXxtK9+30X6Y4JcXz81qY7KTmjA0/LreNVt6iFFkq93QUS 40ujAZGmi9heJ/oxMbu3Zmaa99zktmLWVRT8GN5f94UGnJ0ucTPv/IP3e3POJeGwWP8n Z2lA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=MVPHpTKX; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::601 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on20601.outbound.protection.outlook.com. [2a01:111:f403:260f::601]) by gmr-mx.google.com with ESMTPS id 00721157ae682-63118ca52fdsi774437b3.1.2024.06.13.09.12.44 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2024 09:12:44 -0700 (PDT) Received-SPF: pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::601 as permitted sender) client-ip=2a01:111:f403:260f::601; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gnDtpauaOMGmIgAHbbtqQwN9amfbPi2VC3isXfxksgxd1wHML1jE22ptri5jYwVTSGX8qJ4YUigbP4PxV9wTzHabVT05oOWOKfoH+nrcvgzhJ2fo9GY7x8spgXUunxCCW232E69CXrdJZeXaFD4iF2D0/8RaFjgnlfafOt5hDVQvYBQPKIEOpSFE9WGTpEoGWr9nTBGJ02ZcV2UZl/aEtlvbJMJ8K6abU+WKt4wvrv5ZaTHr7fwyOu5bfsvzGw8LnHRgqP544/LLPtSgKwvVaKBbMbgPE5j7uWI3w+eiPVBMNnZqijsxkkgLJZBf5i8RI7zj9bIH9yhgYYINOeZDEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AbrI62csSRhLJHjiS4Z3hW43l1/vFlouUAiZW8QpIyA=; b=mea5rPok0yT9fOUnO96YefCNcoyKgOfhl/wmFzNJID2/H/f3bFZ/FNbmdiWAe9EAGfBCDiR8b1E+HamwRcKwgPx/asscvABo1e/vBp0tD1UrfJMuWtUcvlM9wXN788TT6GfnbLQxdKbTtgaWAQ3HVmul0m52hhJsB3HEQ6rwYNgc5k5EWyH5YH6i/Rnv3EFCXf65FuRMHeN47mT6lMJeE9yshZImD7BhsFQFMm0J0cY8zdOSssrvMh7DpRNxOlGB/z5JsNwKt8z1l5n5tevEZYBXJIJld0O+WklYl0KeRYJ4mNiVfqwRiFWsD+isf6hnLHqK+97mIy2sHlfS04Im/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:333::17) by GV2PR10MB6258.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:74::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.23; Thu, 13 Jun 2024 16:12:41 +0000 Received: from DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::e659:e46:3b99:a440]) by DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM ([fe80::e659:e46:3b99:a440%4]) with mapi id 15.20.7633.036; Thu, 13 Jun 2024 16:12:41 +0000 From: "'Storm, Christian' via swupdate" <swupdate@googlegroups.com> To: swupdate <swupdate@googlegroups.com> Subject: [swupdate] [PATCH 3/3] handler: Print registered session & global handlers Thread-Topic: [PATCH 3/3] handler: Print registered session & global handlers Thread-Index: AQHavayEgwThCkjOlUqhQS/8si2OgA== Date: Thu, 13 Jun 2024 16:12:40 +0000 Message-ID: <E536A8E2-7126-4EAC-BDA1-23196243E936@siemens.com> References: <B132A47A-8CB2-43BC-B2B7-E08E89A367C1@siemens.com> <91ADC143-2DAA-4624-A1FE-51DD729FF720@siemens.com> In-Reply-To: <91ADC143-2DAA-4624-A1FE-51DD729FF720@siemens.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB9PR10MB5404:EE_|GV2PR10MB6258:EE_ x-ms-office365-filtering-correlation-id: befe4aff-059e-4c1a-0def-08dc8bc3a6a3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230035|376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6xGCeR4hYg8YKOwAidDD962NfIv45KA+GCaXc76RZohkx8M/rFrwNQDP2EwkBjiKsXDMDoKNUFwzTbh8OZyLxPIHxyQjrKpRkD1pRWSjJCYA9U9Ihft1XC3YM6PEGQBN8KJkNzBEdDaHBKOMCUrX/BhcVyML6Cb53P6qsgZpoMMpeVqvkLKT2rFx8vThZ48NEfkc7Ia/6AqfxJfw/pU2bU6gO36tY570N8VyPrn0lMnHGBo6UvgBmeTRTdqHArQWGoRjHgsZFBYSAYspOUpv7P/slcn/rn2Jyz82lGa4aHZUIIed0dL1UdAOpJmckoo1gUrY25EURc6w= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230035)(376009)(1800799019)(366011)(38070700013);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: nWVpZ4mPPqAUIXWY9yjgugzRLk7tROA1sL83Yi8pH8NK7vxjq3kI/1FM9fRz18Y5NtjpQKKxEroVAJWG/IhmRhONtGOrNRjy4Xj/eDgNTZO14vxrxbB4Yul2KtEeLuSasPUd3Qb/RpqnnBLj1C32uWIZFaTtZnwWSRxjVKGwqn5JHFL0AFNa7BJZmMF/IGiquAZuI7LvBpj37OlM014nM1gVlCpa0A8rgrD2GnpxyTPiAKk0G+nfiISgBRj5Qr272Vg2yeeCoXsBQMm0PGjZtm/7pLevRs8mgAg2rHmUhZEe0KKxXMnwO+NGGU7GZqdB8fFBo+g/amcN+jyR1Z2pmPwft+5L7pxMqw7PL7IRm37d8L7zBnom5ahz0vL+hVlNko7d4t+p1SVVkACmfw2aDSZMIULl9b4tqFCcKZqQzhFc/ujgiDBZYp8+WnA4i2rPLlKmsXcycQRGOTsSfRSZdI6zAl0kAHAV8LRLKjZ2LMRW1fN1Fnyr3I4p7xNDggBcmWRy7qEb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2e4302p5Ngre1eXcJ0WgXKYe9aReXS5A== Content-Type: text/plain; charset="UTF-8" Content-ID: <DE850B426BE23A4D843141ADC4181BC1@EURPRD10.PROD.OUTLOOK.COM> MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB9PR10MB5404.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: befe4aff-059e-4c1a-0def-08dc8bc3a6a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2024 16:12:41.0044 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VjkKk4mI0E4NbO6FqRII3+9PiTBW0hAxmtvInIXKWYpAzUwuU+SHWsmkOQgrFAzf5yWHRiNsRaei3X73jNmgBkmQqC61TOafqq+sv9b71CA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR10MB6258 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=MVPHpTKX; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f403:260f::601 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: "Storm, Christian" <christian.storm@siemens.com> Reply-To: "Storm, Christian" <christian.storm@siemens.com> Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[1/3] Lua: Rename lua_init() to lua_session_init()
|
expand
|
diff --git a/core/handler.c b/core/handler.c index 74a211ac..f4789d82 100644 --- a/core/handler.c +++ b/core/handler.c @@ -98,16 +98,18 @@ void unregister_session_handlers(void) } } -void print_registered_handlers(void) +void print_registered_handlers(bool global) { unsigned int i; if (!nr_installers) return; - INFO("Registered handlers:"); + INFO("Registered %s handlers:", global ? "global" : "session"); for (i = 0; i < nr_installers; i++) { - INFO("\t%s", supported_types[i].desc); + if (!global == supported_types[i].noglobal) { + INFO("\t%s", supported_types[i].desc); + } } } diff --git a/core/swupdate.c b/core/swupdate.c index 009abbbc..8d6467b7 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -866,7 +866,7 @@ int main(int argc, char **argv) if(!get_hw_revision(&swcfg.hw)) INFO("Running on %s Revision %s", swcfg.hw.boardname, swcfg.hw.revision); - print_registered_handlers(); + print_registered_handlers(true); if (swcfg.syslog_enabled) { if (syslog_init()) { ERROR("failed to initialize syslog notifier"); diff --git a/corelib/lua_interface.c b/corelib/lua_interface.c index 8de2e3cd..6b425dd0 100644 --- a/corelib/lua_interface.c +++ b/corelib/lua_interface.c @@ -1603,6 +1603,7 @@ int lua_init(void) { lua_State *L = luaL_newstate(); int res = lua_handlers_init(L); + print_registered_handlers(false); unregister_session_handlers(); lua_close(L); if (!gL) { diff --git a/include/handler.h b/include/handler.h index e100bd72..dc4bfe38 100644 --- a/include/handler.h +++ b/include/handler.h @@ -80,6 +80,6 @@ int unregister_handler(const char *desc); void unregister_session_handlers(void); struct installer_handler *find_handler(struct img_type *img); -void print_registered_handlers(void); +void print_registered_handlers(bool global); struct installer_handler *get_next_handler(void); unsigned int get_handler_mask(struct img_type *img);
With Lua handlers having become session handlers, print them as well on SWUpdate startup. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- core/handler.c | 8 +++++--- core/swupdate.c | 2 +- corelib/lua_interface.c | 1 + include/handler.h | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-)