Revision ae80a2de nest/proto.c

View differences:

nest/proto.c
1488 1488
}
1489 1489

  
1490 1490
void
1491
proto_cmd_show(struct proto *p, unsigned int verbose, int cnt)
1491
proto_cmd_show(struct proto *p, uint verbose, int cnt)
1492 1492
{
1493 1493
  byte buf[256], tbuf[TM_DATETIME_BUFFER_SIZE];
1494 1494

  
......
1524 1524
}
1525 1525

  
1526 1526
void
1527
proto_cmd_disable(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED)
1527
proto_cmd_disable(struct proto *p, uint arg UNUSED, int cnt UNUSED)
1528 1528
{
1529 1529
  if (p->disabled)
1530 1530
    {
......
1540 1540
}
1541 1541

  
1542 1542
void
1543
proto_cmd_enable(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED)
1543
proto_cmd_enable(struct proto *p, uint arg UNUSED, int cnt UNUSED)
1544 1544
{
1545 1545
  if (!p->disabled)
1546 1546
    {
......
1555 1555
}
1556 1556

  
1557 1557
void
1558
proto_cmd_restart(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED)
1558
proto_cmd_restart(struct proto *p, uint arg UNUSED, int cnt UNUSED)
1559 1559
{
1560 1560
  if (p->disabled)
1561 1561
    {
......
1573 1573
}
1574 1574

  
1575 1575
void
1576
proto_cmd_reload(struct proto *p, unsigned int dir, int cnt UNUSED)
1576
proto_cmd_reload(struct proto *p, uint dir, int cnt UNUSED)
1577 1577
{
1578 1578
  if (p->disabled)
1579 1579
    {
......
1615 1615
}
1616 1616

  
1617 1617
void
1618
proto_cmd_debug(struct proto *p, unsigned int mask, int cnt UNUSED)
1618
proto_cmd_debug(struct proto *p, uint mask, int cnt UNUSED)
1619 1619
{
1620 1620
  p->debug = mask;
1621 1621
}
1622 1622

  
1623 1623
void
1624
proto_cmd_mrtdump(struct proto *p, unsigned int mask, int cnt UNUSED)
1624
proto_cmd_mrtdump(struct proto *p, uint mask, int cnt UNUSED)
1625 1625
{
1626 1626
  p->mrtdump = mask;
1627 1627
}
1628 1628

  
1629 1629
static void
1630
proto_apply_cmd_symbol(struct symbol *s, void (* cmd)(struct proto *, unsigned int, int), unsigned int arg)
1630
proto_apply_cmd_symbol(struct symbol *s, void (* cmd)(struct proto *, uint, int), uint arg)
1631 1631
{
1632 1632
  if (s->class != SYM_PROTO)
1633 1633
    {
......
1640 1640
}
1641 1641

  
1642 1642
static void
1643
proto_apply_cmd_patt(char *patt, void (* cmd)(struct proto *, unsigned int, int), unsigned int arg)
1643
proto_apply_cmd_patt(char *patt, void (* cmd)(struct proto *, uint, int), uint arg)
1644 1644
{
1645 1645
  int cnt = 0;
1646 1646

  
......
1660 1660
}
1661 1661

  
1662 1662
void
1663
proto_apply_cmd(struct proto_spec ps, void (* cmd)(struct proto *, unsigned int, int),
1664
		int restricted, unsigned int arg)
1663
proto_apply_cmd(struct proto_spec ps, void (* cmd)(struct proto *, uint, int),
1664
		int restricted, uint arg)
1665 1665
{
1666 1666
  if (restricted && cli_access_restricted())
1667 1667
    return;

Also available in: Unified diff