summaryrefslogtreecommitdiff
path: root/common/mock/tcpm_mock.c
blob: efd07a9967d1eb4b7d8267516be03dedfcaf2572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
/* Mock for the TCPM interface */

#include "common.h"
#include "console.h"
#include "memory.h"
#include "mock/tcpm_mock.h"

int tcpm_dequeue_message(int port, uint32_t *payload, int *header)
{
	/* TODO flesh out the mock*/
	return 0;
}

int tcpm_has_pending_message(int port)
{
	/* TODO flesh out the mock*/
	return 0;
}