Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sequencer-2-2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
epics-modules
sequencer-2-2
Commits
b06bfcb7
Commit
b06bfcb7
authored
11 years ago
by
benjamin.franksen
Browse files
Options
Downloads
Patches
Plain Diff
seq: removed seqFindProgByName (was used only by devSeq)
parent
e94d337d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/seq/seqCom.h
+0
-2
0 additions, 2 deletions
src/seq/seqCom.h
src/seq/seq_prog.c
+0
-30
0 additions, 30 deletions
src/seq/seq_prog.c
with
0 additions
and
32 deletions
src/seq/seqCom.h
+
0
−
2
View file @
b06bfcb7
...
...
@@ -223,8 +223,6 @@ epicsShareFunc epicsThreadId seq(seqProgram *, const char *, unsigned);
/* called by generated main and registrar routines */
epicsShareFunc
void
seqRegisterSequencerProgram
(
seqProgram
*
p
);
epicsShareFunc
void
seqRegisterSequencerCommands
(
void
);
/* exported for devSequencer */
epicsShareFunc
struct
program_instance
*
seqFindProgByName
(
const
char
*
,
int
);
#ifdef __cplusplus
}
/* extern "C" */
...
...
This diff is collapsed.
Click to expand it.
src/seq/seq_prog.c
+
0
−
30
View file @
b06bfcb7
...
...
@@ -58,36 +58,6 @@ SSCB *seqFindStateSet(epicsThreadId threadId)
return
args
.
ss
;
}
struct
findByNameArgs
{
SPROG
*
sp
;
const
char
*
progName
;
int
instance
;
};
static
int
findByName
(
SPROG
*
sp
,
void
*
param
)
{
struct
findByNameArgs
*
pargs
=
(
struct
findByNameArgs
*
)
param
;
int
found
=
strcmp
(
sp
->
progName
,
pargs
->
progName
)
==
0
&&
sp
->
instance
==
pargs
->
instance
;
if
(
found
)
pargs
->
sp
=
sp
;
return
found
;
}
/*
* seqFindProgByName() - find a program in the program instance list by name
* and instance number.
*/
epicsShareFunc
SPROG
*
seqFindProgByName
(
const
char
*
progName
,
int
instance
)
{
struct
findByNameArgs
args
;
args
.
sp
=
0
;
args
.
progName
=
progName
;
args
.
instance
=
instance
;
seqTraverseProg
(
findByName
,
&
args
);
return
args
.
sp
;
}
struct
traverseInstancesArgs
{
seqTraversee
*
func
;
void
*
param
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment