/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * * Author: * Michael Zucchi * * Copyright 2002 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include "camel-arg.h" int camel_argv_build(CamelArgV *tv) { register guint32 tag; register int i; register CamelArg *a; int more = TRUE; for (i=0;iargv[i]; if ( (tag = va_arg(tv->ap, guint32)) == 0) { more = FALSE; break; } a->tag = tag; switch((tag & CAMEL_ARG_TYPE)) { case CAMEL_ARG_OBJ: a->ca_object = va_arg(tv->ap, void *); break; case CAMEL_ARG_INT: a->ca_int = va_arg(tv->ap, int); break; case CAMEL_ARG_DBL: a->ca_double = va_arg(tv->ap, double); break; case CAMEL_ARG_STR: a->ca_str = va_arg(tv->ap, char *); break; case CAMEL_ARG_PTR: a->ca_ptr = va_arg(tv->ap, void *); break; default: printf("Error, unknown type, truncating result\n"); more = FALSE; goto fail; } } fail: tv->argc = i; return more; } int camel_arggetv_build(CamelArgGetV *tv) { register guint32 tag; register int i; register CamelArgGet *a; int more = TRUE; for (i=0;iargv[i]; if ( (tag = va_arg(tv->ap, guint32)) == 0) { more = FALSE; break; } a->tag = tag; switch((tag & CAMEL_ARG_TYPE)) { case CAMEL_ARG_OBJ: a->ca_object = va_arg(tv->ap, void **); *a->ca_object = NULL; break; case CAMEL_ARG_INT: a->ca_int = va_arg(tv->ap, int *); *a->ca_int = 0; break; case CAMEL_ARG_DBL: a->ca_double = va_arg(tv->ap, double *); *a->ca_double = 0.0; break; case CAMEL_ARG_STR: a->ca_str = va_arg(tv->ap, char **); *a->ca_str = NULL; break; case CAMEL_ARG_PTR: a->ca_ptr = va_arg(tv->ap, void **); *a->ca_ptr = NULL; break; default: printf("Error, unknown type, truncating result\n"); more = FALSE; goto fail; } } fail: tv->argc = i; return more; } value='dependabot/npm_and_yarn/dashboard/assets/lodash-4.17.19'>dependabot/npm_and_yarn/dashboard/assets/lodash-4.17.19 Tangerine full node (https://github.com/tangerine-network/go-tangerine)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Rebrand as tangerine-network/go-tangerineWei-Ning Huang2019-09-173-30/+30
* internal/ethapi: add transactionHash in blockreceipts (#58)johnliu-dexon2019-06-121-0/+1
* internal/ethapi: add getBlockReceiptsByHash (#56)johnliu-dexon2019-06-121-0/+35
* core: various changes on tps tuning (#46)Wei-Ning Huang2019-06-121-0/+1
* api: allow sending batch of raw transactionsWei-Ning Huang2019-06-122-0/+40
* dex: use dex/downloader in dexSonic2019-06-121-2/+6
* core: fix blockReward serializationWei-Ning Huang2019-06-121-1/+1
* app: add cache mechanism to increase performanceBojie Wu2019-06-121-1/+2
* dex: return round in get block rpc outputWei-Ning Huang2019-06-121-0/+1
* core: included Dexcon metadata in blockWei-Ning Huang2019-06-121-0/+2
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-123-30/+30
* eth, les, geth: implement cli-configurable global gas cap for RPC calls (#19401)Martin Holst Swende2019-04-082-6/+16
* all: simplify timestamps to uint64 (#19372)Martin Holst Swende2019-04-081-1/+1
* internal/ethapi: ask transaction pool for pending nonce (#15794)Yondon Fu2019-01-071-0/+9
* core, internal, eth, miner, les: Take VM config from BlockChain (#17955)Paweł Bylica2018-12-062-5/+5
* internal: fix typo in comments (#18106)Kenso Trabing2018-11-151-1/+1
* EIP-1186 eth_getProof (#17737)Simon Jentzsch2018-10-191-0/+66
* internal/ethapi: warn on failed account accessesPéter Szilágyi2018-10-101-3/+9
* all: fix various comment typos (#17748)Liang ZOU2018-09-251-1/+1
* cmd, core, eth, miner, params: configurable gas floor and ceilPéter Szilágyi2018-08-291-1/+1
* crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932)Felix Lange2018-06-121-4/+2
* internal/ethapi: reduce pendingTransactions to O(txs+accs) from O(txs*accs)Péter Szilágyi2018-06-121-4/+9
* rpc: support returning nil pointer big.Ints (null)Péter Szilágyi2018-06-111-7/+7
* core: improve getBadBlocks to return full block rlp (#16902)Martin Holst Swende2018-06-111-6/+14
* params: fix golint warnings (#16853)kiel barry2018-06-051-3/+3
* core, eth: minor txpool event cleanupsPéter Szilágyi2018-05-181-1/+1
* all: collate new transaction events togetherrjl4934564422018-05-181-1/+1
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-071-3/+4
* core/types: remove String methods from struct types (#16205)Steven Roose2018-04-051-1/+2
* internal/ethapi: make resent gas params optionalPéter Szilágyi2018-03-081-2/+2
* cmd/evm, core/vm, internal/ethapi: don't disable call gas meteringPéter Szilágyi2018-03-051-7/+7
* internal/ethapi: fix getTransactionReceiptPéter Szilágyi2018-02-281-2/+2
* eth, les, light: filter on logs only, derive receipts on demandPéter Szilágyi2018-02-231-3/+7
* ethapi: prevent creating contract if no data is provided (#16108)Martin Holst Swende2018-02-211-0/+12
* all: update license information (#16089)Felix Lange2018-02-141-1/+1
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-061-1/+1
* internal: fix a typo that caused a lint error on travis (#15987)Guillaume Ballet2018-01-291-1/+1
* ethapi: add personal.signTransaction (#15971)Martin Holst Swende2018-01-271-20/+54
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-032-32/+34
* cmd, core, eth/tracers: support fancier js tracing (#15516)Péter Szilágyi2017-12-212-511/+0
* Merge pull request #15674 from chfast/vm-no-snapshot-paramPéter Szilágyi2017-12-181-1/+1
|\
| * core/vm: Remove snapshot param from Interpreter.Run()Paweł Bylica2017-12-151-1/+1
* | internal/ethapi: support "input" in transaction args (#15640)Felix Lange2017-12-181-3/+16
* | internal/ethapi: don't crash for missing receiptsrhaps1072017-12-141-1/+4
|/
* internal/ethapi: fix typo in comment (#15659)yoza2017-12-131-1/+1
* internal/ethapi: avoid recreating JavaScript tracer wrappersPéter Szilágyi2017-11-241-43/+42
* internal/ethapi: fix js tracer to properly decode addresses (#15297)Pulyak Viktor2017-11-181-10/+10
* Added output to clarify gas calculation in txpool.inspecttsarpaul2017-11-171-2/+2
* core/vm, internal/ethapi: tracer no full storage, nicer json output (#15499)Péter Szilágyi2017-11-171-25/+32
* accounts, internal: fail if no suitable estimated gas found (#15477)gary rong2017-11-151-13/+26
* internal, accounts, eth: utilize vm failed flag to help gas estimationrjl4934564422017-10-021-15/+18
* core/types, internal: swap Receipt.Failed to StatusPéter Szilágyi2017-10-021-8/+3
* internal/ethapi: add status code to receipt rpc returnrjl4934564422017-10-021-3/+14
* internal/ethapi: remove code duplication around tx sending (#15158)slumber11222017-09-251-21/+7
* eth, internal/ethapi: fix spelling of 'Ethereum' (#15164)Ernesto del Toro2017-09-201-4/+4
* core: make txpool operate on immutable statePéter Szilágyi2017-09-052-2/+0
* Merge pull request #15014 from rjl493456442/metropolis-eip658Péter Szilágyi2017-08-231-1/+2
|\
| * core: implement Metropolis EIP 658, receipt status byterjl4934564422017-08-221-1/+2
* | cmd/evm, core/vm, internal/ethapi: Show error when exiting (#14985)Martin Holst Swende2017-08-231-1/+1
|/
* core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-181-0/+4
* accounts: refactor API for generalized USB walletsPéter Szilágyi2017-08-091-4/+11
* accounts, console, internal: support trezor hardware walletPéter Szilágyi2017-08-091-0/+16
* internal: fix megacheck warnings (#14919)Egon Elbre2017-08-071-26/+3
* core: remove redundant storage of transactions and receipts (#14801)Péter Szilágyi2017-07-151-146/+68
* core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-272-30/+16
* cmd/evm: add --prestate, --sender, --json flags for fuzzing (#14476)Martin Holst Swende2017-06-071-0/+7
* internal/ethapi: initialize account mutex in lock properlyMartin Holst Swende2017-06-011-2/+3
* Merge pull request #14516 from holiman/noncefixesPéter Szilágyi2017-05-303-36/+92
|\
| * internal/ethapi: add mutex around signing + nonce assignmentMartin Holst Swende2017-05-303-36/+92
* | internal/ethapi: fix tx nonces in pool inspect/contentPéter Szilágyi2017-05-291-8/+8
|/
* Merge pull request #14502 from karalabe/mobile-import-ecdsaFelix Lange2017-05-251-4/+2
|\
| * accounts/keystore, crypto: enforce 256 bit keys on importPéter Szilágyi2017-05-231-4/+2