
These SPDX license identifiers are deprecated ([1]). Update them. [1] https://spdx.org/licenses/ sed \ -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \ -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \ -i \ $(git grep -l SPDX-License-Identifier -- \ ':(exclude)shared/c-*/' \ ':(exclude)shared/n-*/' \ ':(exclude)shared/systemd/src' \ ':(exclude)src/systemd/src')
23 lines
567 B
C
23 lines
567 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2013 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef NMT_NEWT_HACKS_H
|
|
#define NMT_NEWT_HACKS_H
|
|
|
|
#include <newt.h>
|
|
|
|
#ifndef HAVE_NEWTCOMPONENTGETSIZE
|
|
void newtComponentGetSize(newtComponent component, int *width, int *height);
|
|
|
|
void newtComponentGetPosition(newtComponent component, int *left, int *top);
|
|
#endif
|
|
|
|
#ifndef HAVE_NEWTENTRYGETCURSORPOSITION
|
|
int newtEntryGetCursorPosition(newtComponent component);
|
|
void newtEntrySetCursorPosition(newtComponent component, int position);
|
|
#endif
|
|
|
|
#endif /* NMT_NEWT_HACKS_H */
|