This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Precedence values and branching rules based on Tree-sitter JavaScript grammar: | |
* https://github.com/tree-sitter/tree-sitter-javascript/blob/master/grammar.js | |
*/ | |
const PREC = { | |
COMMENT: 1, // Prefer comments over regexes | |
STRING: 2, // In a string, prefer string characters over comments | |
COMMA: -1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static int requestWithinDialog(char *callId, char *cseqNum, char *fromTag, char *toTag, | |
char *method, char *ruri, char *from, char *to, char *headers, | |
txCallback *callbackHandler, void *callbackParam) { | |
LM_DBG("Call > requestWithinDialog\n"); | |
LM_DBG("Creating new %s request: fromTag: %s, toTag: %s, cseqNum: %s, callID: %s\n", | |
method, fromTag, toTag, cseqNum, callId); | |
uac_req_t uac_r; | |
str methodStr = {method, strlen(method)}; | |
str headersStr = STR_NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [{ | |
"type": "docker", | |
"image": "centos:6", | |
"commit": true | |
}], | |
"provisioners": [ | |
{ | |
"type": "shell", | |
"inline": [ |