mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
86926258ee
This commit introduces a new `TorrentConfig` as per #2563 with dedicated default values and new options/flags for the status-go CLI. Since it's part of `NodeConfig`, which is stored per user in the database, this commit also adds a migration script that adds a new `torrent_config` table and database APIs to insert and retreive the torrent config. Closes #2563
14 lines
248 B
Go
14 lines
248 B
Go
//go:build darwin && cgo
|
|
// +build darwin,cgo
|
|
|
|
package signal
|
|
|
|
/*
|
|
#cgo CFLAGS: -x objective-c
|
|
#cgo LDFLAGS: -framework Foundation
|
|
#include <stddef.h>
|
|
#include <stdbool.h>
|
|
extern bool StatusServiceSignalEvent( const char *jsonEvent );
|
|
*/
|
|
import "C"
|