* Start of fidonet.js

This commit is contained in:
Bryan Ashby 2015-07-12 23:14:23 -06:00
parent 5907c1d024
commit 9f86bdd856
1 changed files with 27 additions and 0 deletions

27
core/fidonet.js Normal file
View File

@ -0,0 +1,27 @@
/* jslint node: true */
'use strict';
var Config = require('./config.js').config;
function getFTNAddress = function() {
return 'TODO';
}
function getFTNOriginLine = function() {
//
// Specs:
// http://ftsc.org/docs/fts-0004.001
//
return ' * Origin: ' + Config.general.boardName + '(' + getFidoNetAddress() + ')';
}
//
// References
// https://gist.github.com/M-griffin/65a23b7ea3d7529fd725
//
function extractMessagesFromFTNPacket(options) {
//
// options.path
// options.networkAddress
//
}