File: fu-function-name.c

package info (click to toggle)
fwupd 2.0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,504 kB
  • sloc: ansic: 277,388; python: 11,485; xml: 9,493; sh: 1,625; makefile: 167; cpp: 19; asm: 11; javascript: 9
file content (40 lines) | stat: -rw-r--r-- 824 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * Copyright 2025 Richard Hughes <richard@hughsie.com>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 *
 * nocheck:expect: invalid function name
 * nocheck:expect: mixed case function name
 * nocheck:expect: function should be called ensure
 */

#define FU_COMMON_VERSION_DECODE_BCD(val) 43

G_DEFINE_TYPE_EXTENDED(FuBackend,
		       fu_backend,
		       G_TYPE_OBJECT,
		       0,
		       G_ADD_PRIVATE(FuBackend)
			   G_IMPLEMENT_INTERFACE(FWUPD_TYPE_CODEC, fu_backend_codec_iface_init));

typedef guint8 *(*FuConvertFunc)(gpointer user_data);

static void
wrong_name_test(void)
{
}

static gboolean
fu_function_name_set_version(FuExample *self, GError **error)
{
}

static gboolean
fu_function_name_Enter_SBL(FuExample *self, GError **error)
{
}

const gchar *
fwupd_strerror(gint errnum) /* nocheck:name */
{
}