File: server_utils.h

package info (click to toggle)
swupdate 2025.12%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,004 kB
  • sloc: ansic: 66,621; python: 6,291; makefile: 791; sh: 538; javascript: 229
file content (19 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * (C) Copyright 2018
 * Stefano Babic <stefano.babic@swupdate.org>
 *
 * SPDX-License-Identifier:     GPL-2.0-only
 */

#pragma once
#include <stdbool.h>
#include <swupdate_dict.h>
#include <channel_curl.h>
#include "channel.h"
#include <util.h>

struct json_object;

int channel_settings(void *elem, void *data);
server_op_res_t map_channel_retcode(channel_op_res_t response);
struct json_object *server_tokenize_msg(char *buf, size_t size);