/*
* rpcd - UBUS RPC server
*
- * Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
+ * Copyright (C) 2013-2014 Jo-Philipp Wich <jow@openwrt.org>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
struct blob_attr *attr;
struct blobmsg_policy *policy = NULL;
- if (!sig || blob_id(sig) != BLOBMSG_TYPE_TABLE)
+ if (!sig || blobmsg_type(sig) != BLOBMSG_TYPE_TABLE)
return false;
n_attr = 0;
blobmsg_for_each_attr(attr, sig, rem)
{
- type = blob_id(attr);
+ type = blobmsg_type(attr);
if (type == BLOBMSG_TYPE_INT32)
{