/*
* This file is part of the libsigrok project.
*
- * Copyright (C) ${year} ${author} <${email}>
+ * Copyright (C) {year} {author} <{email}>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <config.h>
#include "protocol.h"
-SR_PRIV int ${lib}_receive_data(int fd, int revents, void *cb_data)
-{
+SR_PRIV int {lib}_receive_data(int fd, int revents, void *cb_data)
+{{
const struct sr_dev_inst *sdi;
struct dev_context *devc;
if (!(devc = sdi->priv))
return TRUE;
- if (revents == G_IO_IN) {
+ if (revents == G_IO_IN) {{
/* TODO */
- }
+ }}
return TRUE;
-}
+}}