summaryrefslogtreecommitdiff
path: root/lwis_version.c
blob: a284cbb9c5f9e2479079137aa57f8e73852f3eaf (plain)
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
/*
 * Google LWIS Versioning File
 *
 * Copyright (c) 2022 Google, LLC
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/kernel.h>
#include <linux/string.h>

#include "lwis_version.h"

void lwis_get_feature_flags(char *buffer, size_t buffer_size)
{
	scnprintf(buffer, buffer_size,
		  "LWIS (Lightweight Imaging Subsystem) Copyright 2022, Google LLC\n");

	strlcat(buffer, "features: ", buffer_size);

	/*
	 * Feature flags start here:
	 */

	/* core:
	 * All features we have shipped with in our initial version of LWIS, the basic fundamental
	 * functions of LWIS.
	 */
	strlcat(buffer, "core", buffer_size);

	strlcat(buffer, "\n", buffer_size);
}